IGH_ScriptInstance

References

Properties

ClippingBox

BoundingBox ClippingBox { get; }
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.
inherited fromIGH_PreviewObject
The clipping box for this object.

Hidden

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

IsPreviewCapable

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

Methods

AfterRunScript

#
void AfterRunScript()

BeforeRunScript

#
void BeforeRunScript()

DrawViewportMeshes

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

DrawViewportWires

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

InvokeRunScript

#
void InvokeRunScript(IGH_Component owner, object rhinoDocument, int iteration, List<object> inputs, IGH_DataAccess DA)
owner (IGH_Component)
rhinoDocument (object)
iteration (int)
inputs (List<object>)
DA (IGH_DataAccess)