FIT_TO_VIEW
- Moves the camera so
that all the selected objects fit into the viewport. If nothing is
selected then it fits the whole scene to the viewport.
Parameters:
createTransition (bool) - True to do the fit to view with the animated transition, False to fit to view instantly.
FIT_TO_VIEW_WITH_TARGETS
- Moves
the camera so that all the passed objects fit into the viewport. If
nothing is passed, it fits the whole scene to the viewport.
Parameters:
targetIds (tuple) - List of targets to which to do the fitting.
createTransition (bool) - True to do the fit to view with the animated transition, False to fit to view instantly.
NAVIGATION_GOTO_PREVIOUS_VIEW
-
Moves the camera to the previous position. This default maximum
wait time for this message is 1.
NAVIGATION_SET_CAMERA_HEIGHT
- Set
a new camera height. This message is broadcastable.
Parameters:
height (float) - Value for the new camera height.
NAVIGATION_SET_CAMERA_POSITION
-
Set a new camera position and look at point. This message is
broadcastable.
Parameters:
cameraPosition (tuple) - Value for the new camera Position.
lookAtPosition (tuple) - Value for the new look at position
NAVIGATION_SET_CAMERA_ROLL
-
Adjusts the camera roll to the specified value (in radians). This
message is broadcastable.
Parameters:
roll (float) - The new camera roll in radians.