RhinoCommon API
RenderSourceView Class |
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.

Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)

The RenderSourceView type exposes the following members.

Name | Description | |
---|---|---|
![]() | 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.
|

Name | Description | |
---|---|---|
![]() | Dispose | Releases all resources used by the RenderSourceView |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the RenderSourceView and optionally releases the managed resources |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetViewInfo |
Get the ViewInfo as specified by the render source view settings.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |

Rhino for Windows
Supported in: 6.14