SolidKit.Forms.Control3D.ViewMovementInfo class

From Solid Graphics Wiki

Jump to: navigation, search
SolidKit.Forms.Control3D.ViewMovementInfo class
Namespace: SolidKit.Forms
Base type: (None)
Assembly: SolidKit.dll
Platform: .NET

The ViewMovementInfo class holds Control3D 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

The class default constructor initializes the instance fields to values of Control3D.ViewMovementInfo.Default static variable fields.



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 SolidKit3D.Vector Speed of keyboard-initiated view/object pan movement. Default value is ( 1.0f, 1.0f, 1.0f ).
RotateSpeed SolidKit3D.Vector Speed of keyboard-initiated view/object rotation in degrees. Default value is ( 22.0f, 22.0f, 22.0f ).
FreeLookUpDirection SolidKit3D.Vector The up direction used for Control3D.InteractionMode.FreeLook and Control3D.InteractionMode.Fly interaction modes. If this field value si equal to CoordinateSystem.Origin (0.0f, 0.0f, 0.0f) then current view's up direction will be used. Default value of the FreeLookUpDirection field is CoordinateSystem.Origin.
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.

See Also


   


SolidKit Library Documentation

Personal tools