ViewMovementInfo struct
From Solid Graphics Wiki
| ||||||||||||
The ViewMovementInfo struct holds Window3D class settings related to the view navigation controllable by keyboard, such as speed of the rotation when rotation key-shortcut is pressed and hold.
Constructors
This struct has no constructors.
Fields
| Field name | Type | Description |
| lookDistanceToPanSpeedRatio | float | If the value of this field is not zero then speed of pan (during pan using keyboard (not mouse) only) is multiplied by the field value and distance of eye position to target position. Default value of this field is 0.25f. |
| panSpeed | Vector | Speed of keyboard-initiated view/object pan movement. Default value is ( 1.0f, 1.0f, 1.0f ). |
| rotateSpeed | Vector | Speed of keyboard-initiated view/object rotation in degrees. Default value is ( 22.0f, 22.0f, 22.0f ). |
| freeLookUpDirection | Vector | The up direction used for Window3D::ImFreeLook and Window3D::ImFly interaction modes. If this field value si equal to cOrigin (0.0f, 0.0f, 0.0f) then current view's up direction will be used. Default value of the freeLookUpDirection field is cOrigin. |
| speedUpFactor | float | Multiplier of pan/rotation speed when "SpeedUp" shortcut-key is pressed simultaneously with the pan keys. Default value is 4.0f. |
| slowDownFactor | float | Multiplier of pan/rotation speed when "SlowDown" shortcut-key is pressed simultaneously with the pan keys. Default value is 0.25f. |
Methods
The ViewMovementInfo struct has no public methods.
Operators
The ViewMovementInfo struct has no public operators.
See Also
- Window3D::GetViewMovementInfo
- Window3D class
- defaultMovementInfo
- ViewControlInfo struct
- Window3DDefaults struct
