RenderSourceView
Helper class to get the correct view from the Render View Source settings. An instance of this class is supposed to be used with the using() {} construct.
Inheritance Hierarchy
System.Object
Rhino.Render.RenderSourceView
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public class RenderSourceView : IDisposable
The RenderSourceView type exposes the following members.
Constructors
Name
Description
Public Method
RenderSourceView
Create a new RenderSourceView for the given doc. Note that this should be done with using(var rsv = new RenderSourceView(doc)) {} If the RenderSettings have the source view set to for instance a SnapShot this construct will ensure that the (active) view is set to the correct snapshot, and reverted back to the original once this instance goes out of scope.
Methods
Name
Description
Public Method
Dispose.
Releases all resources used by the RenderSourceView
Protected Method
Dispose(Boolean)
Releases the unmanaged resources used by the RenderSourceView and optionally releases the managed resources
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
(Overrides Object.Finalize..)
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.)
Public Method
GetViewInfo
Get the ViewInfo as specified by the render source view settings.
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.)