Enumeration CameraControllerOnStartBehavior

The CameraControllerOnStartBehavior enumeration tells how the camera should behave when a new DMU is loaded.

The default behavior, CCB_SetDMUStartPosAndAnimation sets the camera away from the DMU start position, and starts an animation to go to the DMU start position. The behavior CCB_SetDMUStartPos sets the camera to the DMU start position without any animation. The last behavior, CCB_DoNothing does not change anything to the camera.

The CameraControllerOnStartBehavior is not dumped nor changed from CameraManagerInterface.toJSON and CameraManagerInterface.fromJSON. It is set by CameraManagerInterface.setCameraBehaviorOnDMULoaded and retrieved through CameraManagerInterface.getCameraBehaviorOnDMULoaded.


3D Rendering

Enumeration Members

CCB_DoNothing: 3

Does not change anything to the camera when a new DMU is loaded.

CCB_InvalidBehavior: 0

Invalid camera behavior.

CCB_SetDMUStartPos: 2

Sets the camera to the DMU start position without any animation.

CCB_SetDMUStartPosAndAnimation: 1

Sets the camera away from the DMU start position, and starts an animation to go to the DMU start position.

This is the default behavior.