Represents a implementation of the Rhino material
Constructors
GH_Material
#public GH_Material()
GH_Material
#Create a new material based on a colour. The colour is used to control Diffuse, Emission and Transparency. Ambient, Specular and Shine are always default.
public GH_Material()
Color
diffuse
The diffuse colour of the material.
GH_Material
#Copy another GH_Material instance.
public GH_Material()
GH_Material
other
Material to mimic.
Fields
m_value
protected T m_value
Properties
IsValidWhyNot
#Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
Overrides: GH_Goo<T>.IsValidWhyNot
Value
Gets or sets the internal data.
public virtual T Value { get; set; }
Methods
Duplicate
#Duplicate this material.
Returns: An exact duplicate of this material.
Overrides: GH_Goo<T>.Duplicate
MaterialBestGuess
#Gets the best guess RenderMaterial for this shader.
Returns: Material which best describes this shader.