VertexElementMaterial

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

NameTypeAccessDescription
VertexElementTypeVertexElementTypeReadGets the vertex element type.
NamestringRead/WriteGets or sets the name.
MappingModeMappingModeRead/WriteGets or sets the mapping mode.
ReferenceModeReferenceModeRead/WriteGets or sets the reference mode.
IndicesIArrayList<int>ReadGets the indices.

Methods

SignatureDescription
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.

See Also