Rotate¶
Apply a rotation command by specifying one of the subfunctions Screen, Steps, Snap or UpVector.
JSON Format¶
- Type
Object
Properties¶
Property |
Description |
---|---|
Defines the anchor the view is rotated around. |
|
Rotate the view according to the specified direction around the yaw, pitch and/or roll axes. The direction is specified in percentage screen coordinates to work with a mouse movements on rendered views of different resolutions. A value \((0.5, 0.5)\) means that the mouse was moved halfway to the right and halfway up on a $(command:RenderView) scene. |
|
Rotate the view to the next 45° angle between the line of sight and a world unit vector. |
|
Rotate the view in the given number of steps around the yaw, pitch and/or roll axes. One step length represents a single keystroke and rotates the view a small angle. |
|
Defines a constraint on rotations |