MaterialNode
Description:
This class represents a change of material during a model-exporting process.
This class represents a change of material during a model-exporting process.
Remarks:
Output nodes following this node are to be assumed using the material. The material remains in effect until another material node is sent to the output.
See also: OnMaterial(MaterialNode).
public class MaterialNode : RenderNode
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | (Inherited from RenderNode ) | RenderNode |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetAppearance() | Asset | Appearance properties associated with the material. | |
| GetAppearanceOverride() | Asset | Returns appearance properties that override the preset appearance of the material. | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Color | Color | The color the material is being rendered at | |
| Glossiness | int | The level of glossiness of the material | |
| HasOverriddenAppearance | bool | Identifies if the default rendering appearance the material has is being overridden. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. (Inherited from RenderNode ) | RenderNode |
| MaterialId | ElementId | The Id of the element assocated with this material in the model. | |
| NodeName | string | A readable name of the output node. (Inherited from RenderNode ) | RenderNode |
| Smoothness | int | The level of smoothness of the material. | |
| ThumbnailFile | string | The path if a file that contains a thumbnail image of the material. | |
| Transparency | double | The value of transparency the material is being rendered with |