Skip to content

getCameraPose

getCameraPose(world, entity): CameraPose

Defined in: src/modules/camera-3d/camera3d.ts:82

The pose of entity, read from its Position3D and Rotation3D. A missing Rotation3D (or an unregistered one) means unrotated; a missing Position3D means the origin.

EcsWorld

EntityId

CameraPose