RhinoCommon API
VisualAnalysisModeSetUpDisplayAttributes Method |
If an analysis mode needs to modify display attributes, this is the place
to do it. In particular, Style==Texture, then this function must be
overridden.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)

protected virtual void SetUpDisplayAttributes( RhinoObject obj, DisplayPipelineAttributes attributes )
Protected Overridable Sub SetUpDisplayAttributes ( obj As RhinoObject, attributes As DisplayPipelineAttributes )
Parameters
- obj
- Type: Rhino.DocObjectsRhinoObject
The object for which to set up attributes. - attributes
- Type: Rhino.DisplayDisplayPipelineAttributes
The linked attributes.

Shaded analysis modes that use texture mapping, like zebra and emap,
override this function set the tex, diffuse_color, and EnableLighting
parameter.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14