Click or drag to resize

ViewInfo Class

Represents the name and orientation of a View (and named view).

views can be thought of as cameras.

Inheritance Hierarchy

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
public class ViewInfo : IDisposable

The ViewInfo type exposes the following members.

Public methodViewInfo(UInt32)
Construct the ViewInfo for active viewport of given doc.
Public methodViewInfo(RhinoViewport)
Access to the ViewInfo for given RhinoViewport
Public propertyFocalBlurAperture
Gets or sets the Focal blur aperture of the active viewport
Public propertyFocalBlurDistance
Gets or sets the Focal blur distance of the active viewport
Public propertyFocalBlurJitter
Gets or sets the Focal blur jitter of the active viewport
Public propertyFocalBlurMode
Gets or sets the Focal blur mode of the active viewport
Public propertyFocalBlurSampleCount
Gets or sets the Focal blur sample count of the active viewport
Public propertyName
Gets or sets the name of the NamedView.
Public propertyShowWallpaperInGrayScale
True if wallpaper (if any) is to be shown in gray scale in this view.
Public propertyViewport
Gets the viewport, or viewing frustum, associated with this view.
Public propertyWallpaperFilename
Get filename for wallpaper set to this view, if any.
Public propertyWallpaperHidden
True if wallpaper (if any) is to be hidden from this view.
Public methodDispose
Actively reclaims unmanaged resources that this instance uses.
Protected methodDispose(Boolean)
For derived class implementers.

This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.

You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.

Also, you must call the base virtual method within your overriding method.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides ObjectFinalize.)
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.)
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.26
See Also