Skip to content

camera-3d.entity overview


Table of contents


utils

Camera3dEntity (class)

A positioned entity wrapping a camera component (VTypeDoc['camera'], e.g. the adapter-specific camera type an app's TypedGg3dWorld uses) - not attached to any renderer/canvas itself (pass .camera to Gg3dWorld.addRenderer for that), but addressable in the world/entity trees like any other entity: world.addEntity/getEntityByName, IEntity.getChildEntityByName, removeEntity.

Signature

export declare class Camera3dEntity<VTypeDoc> {
  constructor(public readonly camera: VTypeDoc['camera'])
}

tickOrder (property)

Signature

readonly tickOrder: TickOrder.OBJECTS_BINDING