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 |
|---|---|---|---|
| GetAppearance() | Asset | Appearance properties associated with the material. | |
| GetAppearanceOverride() | Asset | Returns appearance properties that override the preset appearance of the material. | |
| Dispose() | None | Releases all resources used by the | RenderNode |
| 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. | |
| MaterialId | ElementId | The Id of the element assocated with this material in the model. | |
| 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 | |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | RenderNode |
| NodeName | string | A readable name of the output node. | RenderNode |