| SoMaterialElement Class |
Store in the state the material properties set by some property nodes.
Namespace: OIV.Inventor.Elements
The SoMaterialElement type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetAmbient | ||
| GetClassStackIndex | Obsolete. Returns the stack id for this element. | |
| GetColorIndex | ||
| GetColorIndices | ||
| GetColorMaterial | ||
| GetDefaultAmbient | Specify Open Inventor defaults for colors, etc. | |
| GetDefaultAmbientIntensity | Specify Open Inventor defaults for colors, etc. | |
| GetDefaultColorIndex | Specify Open Inventor defaults for colors, etc. | |
| GetDefaultDiffuse | Specify Open Inventor defaults for colors, etc. | |
| GetDefaultEmissive | Specify Open Inventor defaults for colors, etc. | |
| GetDefaultMetallic | ||
| GetDefaultRoughness | ||
| GetDefaultShininess | Specify Open Inventor defaults for colors, etc. | |
| GetDefaultSpecular | Specify Open Inventor defaults for colors, etc. | |
| GetDefaultSpecularFactor | ||
| GetDefaultTransparency | Specify Open Inventor defaults for colors, etc. | |
| GetDiffuse | get() methods get value from Inventor state. | |
| GetEmissive | ||
| GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
| GetMetallic | ||
| GetNumColorIndices | Method to inquire about current colors. | |
| GetNumColorIndices(SoState) | Method to inquire about current colors. | |
| GetNumDiffuse | Method to inquire about current colors. | |
| GetNumDiffuse(SoState) | Return number of diffuse colors. | |
| GetNumTransparencies | Method to inquire about current colors. | |
| GetPackedColors | Return packed colors if any. | |
| GetRoughness | ||
| GetShininess | ||
| GetSpecular | ||
| GetSpecularFactor | ||
| GetTransparency | get() methods get value from Inventor state. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsTransparent | Method to inquire about current colors. | |
| Pop | Unref buffer object of the popped element. | |
| Push | Copy current material into the pushed element. | |
| SetAmbient | ||
| SetColorIndices | Static set method. | |
| SetColorMaterial | ||
| SetDiffuse | Static set method. | |
| SetEmissive | ||
| SetMetallic | ||
| SetPacked | ||
| SetRoughness | ||
| SetShininess | ||
| SetSpecular | ||
| SetSpecularFactor | ||
| SetTransparency | Static set method. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
The values of this element are modified by property nodes that affects the material characteristics such as: OIV.Inventor.Nodes.SoBaseColor, OIV.Inventor.Nodes.SoMaterial, OIV.Inventor.Nodes.SoPhysicalMaterial.