Skip to content

ViewSettingsState

Public Class

Represents a snapshot of ViewSettings.

Inheritance Hierarchy

System.Object
Rhino.ApplicationSettings.ViewSettingsState

Namespace: Rhino.ApplicationSettings

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**5.0

Syntax

public class ViewSettingsState

The ViewSettingsState type exposes the following members.

Properties

Name

Description


Public Property

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 Property

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 Property

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 Property

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 Property

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 Property

Gets or sets the faction used as multiplier to pan the screen.


Public Property

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 Property

Gets or sets the rotation direction.

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


Public Property

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 Property

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 Property

Gets or sets the view rotation value.


Public Property

Border amount to apply to parallel viewport during zoom extents


Public Property

Border amount to apply to perspective viewport during zoom extents


Public Property

Gets or sets the step size for zooming with a wheeled mouse or the Page Up and Page Down keys.


Methods

Name

Description


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)