VertexElementMaterial class
VertexElementMaterial class
Defines material index for specified components.
A node can have multiple materials, the VertexElementMaterial is used to render different part of the geometry in different materials.
Inheritance: VertexElementMaterial →
VertexElement
The VertexElementMaterial type exposes the following members:
Constructors
| Constructor | Description | 
|---|---|
| __init__(self) | Initializes a new instance of the VertexElementMaterialclass. | 
Properties
| Property | Description | 
|---|---|
| vertex_element_type | Gets the type of the VertexElement | 
| name | Gets or sets the name. | 
| mapping_mode | Gets or sets how the element is mapped. | 
| reference_mode | Gets or sets how the element is referenced. | 
Methods
| Method | Description | 
|---|---|
| set_indices(self, data) | Load indices | 
| clear(self) | Removes all elements from the direct and the index arrays. | 
See Also
- module aspose.threed.entities
- class VertexElement
- class VertexElementMaterial