Skip to content
Grasshopper 1 SDK
v1
Namespaces
GH_IO
GH_IO.Serialization
GH_IO.Types
GH_IO.UserInterface
Grasshopper
Grasshopper.Documentation
Grasshopper.Getters
Grasshopper.GUI
Grasshopper.GUI.Alignment
Grasshopper.GUI.Base
Grasshopper.GUI.Canvas
Grasshopper.GUI.Canvas.Interaction
Grasshopper.GUI.Canvas.TagArtists
Grasshopper.GUI.Colours
Grasshopper.GUI.Equations
Grasshopper.GUI.Gradient
Grasshopper.GUI.HTML
Grasshopper.GUI.IconEditor
Grasshopper.GUI.Layout
Grasshopper.GUI.MRU
Grasshopper.GUI.RemotePanel
Grasshopper.GUI.Ribbon
Grasshopper.GUI.Script
Grasshopper.GUI.SettingsControls
Grasshopper.GUI.Stacks
Grasshopper.GUI.StringDisplay
Grasshopper.GUI.Theme
Grasshopper.GUI.Widgets
Grasshopper.Kernel
Grasshopper.Kernel.Attributes
Grasshopper.Kernel.Components
GH_CustomPreviewItem
ColourGeometryMaterialShaderPushToRenderPipeline(GH_RenderArgs)PushToRhinoDocument(RhinoDoc, ObjectAttributes)
Grasshopper.Kernel.Data
Grasshopper.Kernel.Expressions
Grasshopper.Kernel.GDL
Grasshopper.Kernel.Geometry
Grasshopper.Kernel.Geometry.ConvexHull
Grasshopper.Kernel.Geometry.Delaunay
Grasshopper.Kernel.Geometry.SpatialTrees
Grasshopper.Kernel.Geometry.Voronoi
Grasshopper.Kernel.Graphs
Grasshopper.Kernel.Parameters
Grasshopper.Kernel.Parameters.Hints
Grasshopper.Kernel.Sorting
Grasshopper.Kernel.Special
Grasshopper.Kernel.Special.SketchElements
Grasshopper.Kernel.Types
Grasshopper.Kernel.Types.Transforms
Grasshopper.Kernel.Undo
Grasshopper.Kernel.Undo.Actions
Grasshopper.Kernel.Utility
Grasshopper.My.Resources
Grasshopper.Plugin
Grasshopper.Rhinoceros
Grasshopper.Rhinoceros.Annotations
Grasshopper.Rhinoceros.Annotations.Params
Grasshopper.Rhinoceros.Display
Grasshopper.Rhinoceros.Display.Params
Grasshopper.Rhinoceros.Drafting
Grasshopper.Rhinoceros.Drafting.Params
Grasshopper.Rhinoceros.Model
Grasshopper.Rhinoceros.Model.Params
Grasshopper.Rhinoceros.Params
Grasshopper.Rhinoceros.Render
Grasshopper.Rhinoceros.Render.Params
  1. Grasshopper
  2. Grasshopper.Kernel.Components
  3. GH_CustomPreviewItem

GH_CustomPreviewItem

References
public struct GH_CustomPreviewItem

Fields

Colour

#
public Color Colour

Geometry

#
public IGH_PreviewData Geometry

Material

#
public GH_Material Material

Shader

#
public DisplayMaterial Shader

Methods

PushToRenderPipeline

#
public void PushToRenderPipeline(GH_RenderArgs args)
Parameters:
args (GH_RenderArgs)

PushToRhinoDocument

#
public Guid PushToRhinoDocument(RhinoDoc doc, ObjectAttributes att)
Parameters:
doc (RhinoDoc)
att (ObjectAttributes)
Open Tab