@tripo3d/engine / EngineWorldRuntime
Interface: EngineWorldRuntime
Defined in: ecs/world.ts:46
定义世界对象接口。
Extends
Properties
| Property | Type | Inherited from | Defined in |
|---|---|---|---|
clear | () => void | EngineWorld.clear | core/types/ecs.ts:124 |
createEntity | (object?, options?) => Entity | EngineWorld.createEntity | core/types/ecs.ts:125 |
createQuery | (descriptor) => EntityQuery | EngineWorld.createQuery | core/types/ecs.ts:126 |
getEntities | () => Entity[] | EngineWorld.getEntities | core/types/ecs.ts:127 |
getEntityByObject | (object) => Entity | undefined | EngineWorld.getEntityByObject | core/types/ecs.ts:128 |
query | <T>(definition) => Entity[] | EngineWorld.query | core/types/ecs.ts:129 |
registerObject | (object, options?) => Entity | EngineWorld.registerObject | core/types/ecs.ts:130 |
registerTree | (root, options?) => Entity | EngineWorld.registerTree | core/types/ecs.ts:131 |
removeEntity | (entity) => void | EngineWorld.removeEntity | core/types/ecs.ts:132 |
walk | (target, callback) => void | EngineWorld.walk | core/types/ecs.ts:133 |
dispatchScriptAfterRender | (frame) => void | - | ecs/world.ts:47 |
dispatchScriptBeforeRender | (frame) => void | - | ecs/world.ts:48 |
dispatchScriptLateUpdate | (frame) => void | - | ecs/world.ts:49 |
dispatchScriptReady | () => void | - | ecs/world.ts:50 |
dispatchScriptResize | (size) => void | - | ecs/world.ts:51 |
dispatchScriptStart | () => void | - | ecs/world.ts:52 |
dispatchScriptUpdate | (frame) => void | - | ecs/world.ts:53 |