Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Camera

Namespace for managing 3D camera (-items).

The Camera itself uses ReadonlyTransform. Its position and orientation can not be modified.

To change camera item rotation and position by script, use CameraItem.

Index

Variables

Let focusedItem

focusedItem: CameraItem

Defines the currently focused CameraItem.

If no CameraItem is focused, this returns null.

Const transform

Readonly Transform of the Camera.

To move the Camera by script, use the editable Transform of CameraItem.

Functions

addToCollisionFilter

  • addToCollisionFilter(item: BaseItem): void
  • Adds item to the Camera collision filter, disabling collisions against it.

    Parameters

    Returns void

removeFromCollisionFilter

  • removeFromCollisionFilter(item: BaseItem): void
  • Removes item from the Camera collision filter, enabling collision against it.

    Parameters

    Returns void

Generated using TypeDoc