world
You can access the world variable via component lifecycle methods.
Modules
Module | Description |
---|---|
audio | Utility functions related to scene audio. |
camera | Utility functions related to the camera. |
events | Utility functions and properties related to events. |
input | Utility functions and properties related to input. |
three | Leverage additional functionality provided by three.js. |
time | Utility functions and properties related to time. |
Properties
Property | Type | Description |
---|---|---|
allEntities | Set<Eid> | Set of all scene entities. |
Functions
Function | Description |
---|---|
createEntity | Create an entity. |
deleteEntity | Remove an entity from the scene graph. |
getChildren | Get children entities. |
getParent | Get parent entity. |
getWorldTransform | Get the world transform of an entity. |
normalizeQuaternion | Normalizes an entity's quaternion. |
setParent | Set parent entity. |
setPosition | Set position of an entity. |
setQuaternion | Set rotation of an entity. |
setScale | Set scale of an entity. |
setTransform | Set transform of an entity. |