Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Camera

Client camera and CameraItem controls.

The client camera uses ReadonlyTransform. Its position and orientation can not be modified. To manipulate the client camera rotation and position programmatically, use CameraItem.

Index

Variables

focusedItem: CameraItem

Defines the CameraItem that the client is currently looking through.

If no CameraItem is focused, this returns null.

Readonly Transform of the client Camera.

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

Functions

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

    Parameters

    Returns void

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

    Parameters

    Returns void