VertexElementMaterial
Overview
VertexElementMaterial is a class in Aspose.3D FOSS for .NET.
Inherits from: VertexElement.
Vertex element with material index
This class provides 4 methods for working with VertexElementMaterial objects in .NET programs.
Available methods include: Clear, SetIndices, ToString, VertexElementMaterial.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: Indices, MappingMode, Name, ReferenceMode, VertexElementType.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
VertexElementType | VertexElementType | Read | Gets the vertex element type. |
Name | string | Read/Write | Gets or sets the name. |
MappingMode | MappingMode | Read/Write | Gets or sets the mapping mode. |
ReferenceMode | ReferenceMode | Read/Write | Gets or sets the reference mode. |
Indices | IArrayList<int> | Read | Gets the indices. |
Methods
| Signature | Description |
|---|---|
VertexElementMaterial(mappingMode: MappingMode, referenceMode: ReferenceMode) | Creates a material vertex element with the given mapping and reference modes |
SetIndices(data: int[]) | Sets the indices data |
Clear() | Clears all the data from this vertex element. |
ToString() | String representation of vertex element. |