Click or drag to resize

ViewSettingsState Class

Represents a snapshot of ViewSettings.
Inheritance Hierarchy
SystemObject
  Rhino.ApplicationSettingsViewSettingsState

Namespace:  Rhino.ApplicationSettings
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public class ViewSettingsState

The ViewSettingsState type exposes the following members.

Properties
  NameDescription
Public propertyAlwaysPanParallelViews
Gets or sets the 'always pan parallel views' value.

If the view is not looking straight at the construction plane, then sets parallel viewports so they will not rotate.

Public propertyDefinedViewSetCPlane
Gets or sets the 'named views set CPlane' value.

When true, restoring a named view causes the construction plane saved with that view to also restore.

Public propertyDefinedViewSetProjection
Gets or sets the 'named views set projection' value.

When true, restoring a named view causes the viewport projection saved with the view to also restore.

Public propertyLinkedViewports
Gets or sets the 'linked views' activated setting.

true enables real-time view synchronization. When a standard view is manipulated, the camera lens length of all parallel projection viewports are set to match the current viewport.

Public propertyPanReverseKeyboardAction
Gets or sets if panning with the keyboard is reversed.

false, then Rhino pans the camera in the direction of the arrow key you press. true, then Rhino pans the scene instead.

Public propertyPanScreenFraction
Gets or sets the faction used as multiplier to pan the screen.
Public propertyRotateCircleIncrement
Gets or sets the rotation increment.

When the user rotates a view with the keyboard, Rhino rotates the view in steps. The usual step is 1/60th of a circle, which equals six degrees.

Public propertyRotateReverseKeyboard
Gets or sets the rotation direction.

If true, then Rhino rotates the camera around the scene, otherwise, rotates the scene itself.

Public propertyRotateToView
Gets or sets the rotation reference.

If true, then the views rotates relative to the view axes; false, than relative to the world x, y, and z axes.

Public propertySingleClickMaximize
Gets or sets the 'single-click maximize' value.

When true, maximizing a viewport needs a single click on the viewport title rather than a double-click.

Public propertyViewRotation
Gets or sets the view rotation value.
Public propertyZoomExtentsParallelViewBorder
Border amount to apply to parallel viewport during zoom extents
Public propertyZoomExtentsPerspectiveViewBorder
Border amount to apply to perspective viewport during zoom extents
Public propertyZoomScale
Gets or sets the step size for zooming with a wheeled mouse or the Page Up and Page Down keys.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also