ModelView
Referencespublic sealed class ModelView : IGH_GeometricGoo, IEquatable<ModelView>, IGH_PreviewData, IGH_BakeAwareData
Represents a 3D view frustum. Wraps the functionality of the ViewportInfo type.
Constructors
Properties
bool IsGeometryLoaded
Gets the load state of this view object. The view is considered to be loaded when the local view instance is not null.
Implements: IsGeometryLoaded
bool IsReferencedGeometry
Implements: IsReferencedGeometry
Methods
Parameters:
| doc (RhinoDoc) | |
| att (ObjectAttributes) | |
| guid (ref Guid) |
Implements: BakeGeometry
void ClearCaches()
Clears all volatile caches for this instance. The boundingbox is cleared, and if the view is referenced, the local instance of the view is erased.
Implements: ClearCaches
Parameters:
| args (GH_PreviewMeshArgs) |
Implements: DrawViewportMeshes
Parameters:
| args (GH_PreviewWireArgs) |
Implements: DrawViewportWires
Implements: DuplicateGeometry
If the view is referenced and not yet loaded, attempts to load the view.
Parameters:
| doc (RhinoDoc) |
Returns: True if the view is loaded (or if it was already loaded), False on failure.
Implements: LoadGeometry
Parameters:
| reader (GH_IReader) |
Implements: Read
ToViewportInfo
#Transform
#Parameters:
| writer (GH_IWriter) |
Implements: Write