Skip to content h2d.Object
Fields
| Name | Type |
|---|
| children | hl.types.ArrayObj |
| parentContainer | h2d.Object |
| parent | h2d.Object |
| name | String |
| x | F64 |
| y | F64 |
| scaleX | F64 |
| scaleY | F64 |
| rotation | F64 |
| visible | Bool |
| alpha | F64 |
| filter | h2d.filter.Filter |
| blendMode | h2d.BlendMode |
| matA | F64 |
| matB | F64 |
| matC | F64 |
| matD | F64 |
| absX | F64 |
| absY | F64 |
| posChanged | Bool |
| allocated | Bool |
| lastFrame | I32 |
| static | nullDrawable | h2d.Drawable |
Protos
f@1365 getBounds(h2d.Object, h2d.Object, h2d.col.Bounds) → h2d.col.Bounds
f@1366 getSize(h2d.Object, h2d.col.Bounds) → h2d.col.Bounds
f@1367 find(h2d.Object, Fun) → Dyn
f@1368 set_filter(h2d.Object, h2d.filter.Filter) → h2d.filter.Filter
f@1369 getBoundsRec(h2d.Object, h2d.Object, h2d.col.Bounds, Bool) → Void
f@1370 addBounds(h2d.Object, h2d.Object, h2d.col.Bounds, F64, F64, F64, F64) → Void
f@1371 getObjectsCount(h2d.Object) → I32
f@1372 localToGlobal(h2d.Object, h2d.col.Point) → h2d.col.Point
f@1373 globalToLocal(h2d.Object, h2d.col.Point) → h2d.col.Point
f@1374 getScene(h2d.Object) → h2d.Scene
f@1375 set_visible(h2d.Object, Bool) → Bool
f@1376 addChild(h2d.Object, h2d.Object) → Void
f@1377 addChildAt(h2d.Object, h2d.Object, I32) → Void
f@1378 onParentChanged(h2d.Object) → Void
f@1379 onAdd(h2d.Object) → Void
f@1380 onRemove(h2d.Object) → Void
f@1381 removeChild(h2d.Object, h2d.Object) → Void
f@1382 setParentContainer(h2d.Object, h2d.Object) → Void
f@1383 removeChildren(h2d.Object) → Void
f@1384 remove(h2d.Object) → Void
f@1385 drawTo(h2d.Object, h3d.mat.Texture) → Void
f@1386 draw(h2d.Object, h2d.RenderContext) → Void
f@1387 sync(h2d.Object, h2d.RenderContext) → Void
f@1388 syncPos(h2d.Object) → Void
f@1389 calcAbsPos(h2d.Object) → Void
f@1390 emitTile(h2d.Object, h2d.RenderContext, h2d.Tile) → Void
f@1391 clipBounds(h2d.Object, h2d.RenderContext, h2d.col.Bounds) → Void
f@1392 drawFilters(h2d.Object, h2d.RenderContext) → Void
f@1393 drawRec(h2d.Object, h2d.RenderContext) → Void
f@1394 getChildIndex(h2d.Object, h2d.Object) → I32
f@1395 getObjectByName(h2d.Object, String) → h2d.Object
f@1396 toString(h2d.Object) → String
f@1397 contentChanged(h2d.Object, h2d.Object) → Void
f@1398 constraintSize(h2d.Object, F64, F64) → Void
f@1399 __string(h2d.Object) → Bytes
Bindings
- static
f@1400 __constructor__(h2d.Object, h2d.Object) → Void