Skip to content

ViewSettings

Public Class

Contains static methods and properties to control view settings.

Inheritance Hierarchy

System.Object
Rhino.ApplicationSettings.ViewSettings

Namespace: Rhino.ApplicationSettings

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public static class ViewSettings

The ViewSettings type exposes the following members.

Properties

Name

Description


Public Property
Static Member

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
Static Member

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
Static Member

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
Static Member

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
Static Member

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
Static Member

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


Public Property
Static Member

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
Static Member

Gets or sets the rotation direction.

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


Public Property
Static Member

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
Static Member

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
Static Member

Gets or sets the view rotation value.


Public Property
Static Member

Border amount to apply to parallel viewport during zoom extents


Public Property
Static Member

Border amount to apply to perspective viewport during zoom extents


Public Property
Static Member

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
Static Member

Gets the current settings.


Public Method
Static Member

Gets the view factory settings.


Public Method
Static Member

Updates from the default setting state.


Public Method
Static Member

Updates from a particular setting state.