Messages related to the Camera module.

Static variables

@:value(new Message<Void>("acquire_camera_focus"))staticread onlyacquire_camera_focus:Message<Void> = new Message<Void>("acquire_camera_focus")

Makes the receiving camera become the active camera.

Post this message to a camera-component to activate it.

Several cameras can be active at the same time, but only the camera that was last activated will be used for rendering. When the camera is deactivated (see release_camera_focus), the previously activated camera will again be used for rendering automatically.

The reason it is called "camera focus" is the similarity to how acquiring input focus works (see acquire_input_focus).

@:value(new Message<Void>("release_camera_focus"))staticread onlyrelease_camera_focus:Message<Void> = new Message<Void>("release_camera_focus")

Deactivates the receiving camera.

Post this message to a camera-component to deactivate it. The camera is then removed from the active cameras. See acquire_camera_focus for more information how the active cameras are used in rendering.

@:value(new Message<CameraMessageSetCamera>("set_camera"))staticread onlyset_camera:Message<CameraMessageSetCamera> = new Message<CameraMessageSetCamera>("set_camera")

Sets camera properties.

Post this message to a camera-component to set its properties at run-time.