メインコンテンツへスキップ

world

You can access the world variable via component lifecycle methods.

Modules

ModuleDescription
audioUtility functions related to scene audio.
cameraUtility functions related to the camera.
eventsUtility functions and properties related to events.
inputUtility functions and properties related to input.
threeLeverage additional functionality provided by three.js.
timeUtility functions and properties related to time.

Properties

PropertyTypeDescription
allEntitiesSet<Eid>Set of all scene entities.

Functions

FunctionDescription
createEntityCreate an entity.
deleteEntityRemove an entity from the scene graph.
getChildrenGet children entities.
getParentGet parent entity.
getWorldTransformGet the world transform of an entity.
normalizeQuaternionNormalizes an entity's quaternion.
setParentSet parent entity.
setPositionSet position of an entity.
setQuaternionSet rotation of an entity.
setScaleSet scale of an entity.
setTransformSet transform of an entity.