DisplayMaterial Class |
[Missing <summary> documentation for "T:Rhino.Display.DisplayMaterial"]
Namespace: Rhino.Display
The DisplayMaterial type exposes the following members.
| Name | Description | |
|---|---|---|
| DisplayMaterial |
Constructs a default material.
| |
| DisplayMaterial(Color) |
Constructs a default material with a specific diffuse color.
| |
| DisplayMaterial(DisplayMaterial) |
Duplicate another material.
| |
| DisplayMaterial(Material) | Initializes a new instance of the DisplayMaterial class | |
| DisplayMaterial(Color, Double) |
Constructs a default material with a specific diffuse color and transparency.
| |
| DisplayMaterial(Color, Color, Color, Color, Double, Double) |
Constructs a material with custom properties.
|
| Name | Description | |
|---|---|---|
| BackDiffuse |
Gets or sets the Diffuse color of the back side of the Material.
The alpha component of the color will be ignored.
| |
| BackEmission |
Gets or sets the Emissive color of the back side of the Material.
The alpha component of the color will be ignored.
| |
| BackShine |
Gets or sets the shine factor of the back side of the material (0.0 to 1.0)
| |
| BackSpecular |
Gets or sets the Specular color of the back side of the Material.
The alpha component of the color will be ignored.
| |
| BackTransparency |
Gets or sets the transparency of the back side material (0.0 = opaque to 1.0 = transparent)
| |
| Diffuse |
Gets or sets the Diffuse color of the Material.
The alpha component of the color will be ignored.
| |
| Emission |
Gets or sets the Emissive color of the Material.
The alpha component of the color will be ignored.
| |
| IsTwoSided | ||
| Shine |
Gets or sets the shine factor of the material (0.0 to 1.0)
| |
| Specular |
Gets or sets the Specular color of the Material.
The alpha component of the color will be ignored.
| |
| Transparency |
Gets or sets the transparency of the material (0.0 = opaque to 1.0 = transparent)
|
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the DisplayMaterial | |
| Dispose(Boolean) | Releases the unmanaged resources used by the DisplayMaterial and optionally releases the managed resources | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | (Overrides ObjectFinalize.) | |
| GetBitmapTexture | ||
| GetBumpTexture |
Gets the bump texture for this display material.
| |
| GetEnvironmentTexture | ||
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetTransparencyTexture | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetBitmapTexture(String, Boolean) | ||
| SetBitmapTexture(Texture, Boolean) | ||
| SetBitmapTexture(String, Bitmap, Boolean) |
Uses the pixels of an in-memory bitmap as this material's bitmap texture, without
writing an image file.
The pixels are copied into TextureCache under name. Calling this again with the same name replaces them in place, and the change shows up on the next redraw. | |
| SetBumpTexture(String, Boolean) | ||
| SetBumpTexture(Texture, Boolean) | ||
| SetEnvironmentTexture(String, Boolean) | ||
| SetEnvironmentTexture(Texture, Boolean) | ||
| SetTransparencyTexture(String, Boolean) | ||
| SetTransparencyTexture(Texture, Boolean) | ||
| ToString | Returns a string that represents the current object. (Inherited from Object.) |