getConvexHull
getConvexHull: (GroundObject) -> Shape?The outline of its model on the canvas, nil when it does not project, has no readable model or is gone.
scene:tileAt(…):getGroundObject()| Method | Returns | Description |
|---|---|---|
getConvexHull() | Shape? | The outline of its model on the canvas, nil when it does not project, has no readable model or is gone. |
getRenderable() | Renderable? | What the scene draws for it, nil when none (or gone). |
getConfig() | number | type & 31, orientation >>> 6 & 3, supports items >>> 8 & 1. |
| Method | Returns | Description |
|---|---|---|
GroundObjectDespawned.getGroundObject | GroundObject | The object. |
GroundObjectSpawned.getGroundObject | GroundObject | The object. |
Tile.getGroundObject | GroundObject? | Its ground object, if any. |
getConvexHullgetConvexHull: (GroundObject) -> Shape?The outline of its model on the canvas, nil when it does not project, has no readable model or is gone.
getRenderablegetRenderable: (GroundObject) -> Renderable?What the scene draws for it, nil when none (or gone).
getConfiggetConfig: (GroundObject) -> numbertype & 31, orientation >>> 6 & 3, supports items >>> 8 & 1.