DisplayAttributeMaterial
ReferencesOne side of the material the display pipeline shades an object with. A texture-style VisualAnalysisMode sets its texture up here from SetUpDisplayAttributes.
Remarks: Valid for as long as the DisplayPipelineAttributes it came from, the same as DisplayPipelineAttributes.MeshSpecificAttributes. The attributes passed to SetUpDisplayAttributes belong to the display pipeline and are disposed when that call returns; using this afterwards does nothing rather than reaching freed memory.
Properties
When true the material is drawn at full diffuse color, ignoring the scene lights.
Shades with no smoothing, so the individual render mesh faces are visible.
Objects acquire color from render materials.
Objects acquire reflectivity from render materials.
Objects acquire transparency from render materials.
Methods
Gets the texture of the given type, or null when this material has none.
Removes every texture of the given type.
Returns: true when a texture was removed.
Assigns a texture, replacing any texture this material already has of the same type.
Returns: true on success.