Skip to content

VisualAnalysisMode.SetUpDisplayAttributes

Public Class

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)

Syntax

protected virtual void SetUpDisplayAttributes(
RhinoObject obj,
DisplayPipelineAttributes attributes
)

Parameters

obj

Type: Rhino.DocObjects.RhinoObject
The object for which to set up attributes.

attributes

Type: Rhino.Display.DisplayPipelineAttributes
The linked attributes.

Remarks

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