GH_PreviewMeshArgs

References
public class GH_PreviewMeshArgs
This class is passed to objects that implement IGH_PreviewData during mesh drawing operations.

Constructors

GH_PreviewMeshArgs

#
public GH_PreviewMeshArgs(RhinoViewport vp, DisplayPipeline pl, DisplayMaterial mat, MeshingParameters meshParams)
vp (RhinoViewport)
pl (DisplayPipeline)
mat (DisplayMaterial)
meshParams (MeshingParameters)

Properties

Material

#
public DisplayMaterial Material { get; }
Gets the material in which meshes ought to be drawn.

MeshingParameters

#
public MeshingParameters MeshingParameters { get; }
Gets the meshing parameters which ought to be used for meshing breps and surfaces. If this property returns a null reference, meshes are supposed to be omitted.

Pipeline

#
public DisplayPipeline Pipeline { get; }
Gets the Display Pipeline we're currently drawing with.

Viewport

#
public RhinoViewport Viewport { get; }
Gets the Viewport in which we're currently drawing.