camera namespace

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.

Methods

add_to_collision_filter(self, item: BaseItem) -> None

Adds a BaseItem to the camera collision filter, disabling collisions against it.

remove_from_collision_filter(self, item: BaseItem) -> None

Removes a BaseItem from the camera collision filter, enabling collision against it.

Properties

focused_item CameraItem

Defines the CameraItem that the client is currently looking through.

readonly transform ReadonlyTransform

Readonly Transform of the client Camera.