IGH_PreviewObject

References
public interface IGH_PreviewObject
All IGH_DocumentObjects that wish to participate in Viewport redraws must implement this interface.

Properties

ClippingBox

#
Gets the clipping box for this object. The clipping box is typically the union of the boundingboxes of all the geometry that is drawn by this object.
BoundingBox ClippingBox { get; }
The clipping box for this object.

Hidden

#
Gets or sets a value indicating whether or not this object is currently drawing preview flags.
bool Hidden { get; set; }

IsPreviewCapable

#
Gets a value indicating whether or not this object (in its current state) can draw geometric previews at all.
bool IsPreviewCapable { get; }

Methods

DrawViewportMeshes

#
Implement this function to draw all shaded meshes. If the viewport does not support shading, this function will not be called.
void DrawViewportMeshes(
args
Draw operation arguments.
)

DrawViewportWires

#
Implement this function to draw all wire and point geometry previews.
void DrawViewportWires(
args
Draw operation arguments.
)