Skip to content

DisplayMaterial

Public Class

Inheritance Hierarchy

System.Object
Rhino.Display.DisplayMaterial

Namespace: Rhino.Display

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public class DisplayMaterial : IDisposable

The DisplayMaterial type exposes the following members.

Constructors

Name

Description


Public Method

Constructs a default material.


Public Method

Constructs a default material with a specific diffuse color.


Public Method

Duplicate another material.


Public Method

Initializes a new instance of the DisplayMaterial class


Public Method

Constructs a default material with a specific diffuse color and transparency.


Public Method

Constructs a material with custom properties.


Properties

Name

Description


Public Property

Gets or sets the Diffuse color of the back side of the Material. The alpha component of the color will be ignored.


Public Property

Gets or sets the Emissive color of the back side of the Material. The alpha component of the color will be ignored.


Public Property

Gets or sets the shine factor of the back side of the material (0.0 to 1.0)


Public Property

Gets or sets the Specular color of the back side of the Material. The alpha component of the color will be ignored.


Public Property

Gets or sets the transparency of the back side material (0.0 = opaque to 1.0 = transparent)


Public Property

Gets or sets the Diffuse color of the Material. The alpha component of the color will be ignored.


Public Property

Gets or sets the Emissive color of the Material. The alpha component of the color will be ignored.


Public Property

Public Property

Gets or sets the shine factor of the material (0.0 to 1.0)


Public Property

Gets or sets the Specular color of the Material. The alpha component of the color will be ignored.


Public Property

Gets or sets the transparency of the material (0.0 = opaque to 1.0 = transparent)


Methods

Name

Description


Public Method

Releases all resources used by the DisplayMaterial


Protected Method

Releases the unmanaged resources used by the DisplayMaterial and optionally releases the managed resources


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

(Overrides Object.Finalize..)


Public Method

Public Method

Gets the bump texture for this display material.


Public Method

Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Public Method

Public Method

Public Method

Public Method

Public Method

Public Method

Public Method

Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)