getWorldView
getWorldView: (ClientObjectController) -> numberThe id of the world view it is drawn in: -1 until setLocation places it (the top level), then the point's (WorldView.TOPLEVEL, 0, or a world entity's).
| Method | Returns | Description |
|---|---|---|
getWorldView() | number | The id of the world view it is drawn in: -1 until setLocation places it (the top level), then the point's (WorldView.TOPLEVEL, 0, or a… |
getX() | number | Its local (fine) x. |
getY() | number | Its local (fine) y. |
getZ() | number | Its height (negative up): the ground's under it after setLocation. |
setZ(number) | () | Set its height (negative up), drawn from the next frame. |
getLevel() | number | Its level (plane), 0-3. |
getOrientation() | number | The way it faces, 0-2047. |
setOrientation(number) | () | Face orientation (0-2047), drawn from the next frame. |
getLocation() | LocalPoint | Where it is: its x and y in its world view (-1 until placed). |
getWorldViewgetWorldView: (ClientObjectController) -> numberThe id of the world view it is drawn in: -1 until setLocation places it (the top level), then the point's (WorldView.TOPLEVEL, 0, or a world entity's).
getXgetX: (ClientObjectController) -> numberIts local (fine) x.
getYgetY: (ClientObjectController) -> numberIts local (fine) y.
getZgetZ: (ClientObjectController) -> numberIts height (negative up): the ground's under it after setLocation.
setZsetZ: (ClientObjectController, number) -> ()Set its height (negative up), drawn from the next frame.
getLevelgetLevel: (ClientObjectController) -> numberIts level (plane), 0-3.
getOrientationgetOrientation: (ClientObjectController) -> numberThe way it faces, 0-2047.
setOrientationsetOrientation: (ClientObjectController, number) -> ()Face orientation (0-2047), drawn from the next frame.
getLocationgetLocation: (ClientObjectController) -> LocalPointWhere it is: its x and y in its world view (-1 until placed).