VertexElementVector
Overview
VertexElementVector is a class in Aspose.3D FOSS for .NET.
Inherits from: VertexElement, IIndexedVertexElement.
Vertex element with vector data (normals, tangents, etc.)
This class provides 3 methods for working with VertexElementVector objects in .NET programs.
Available methods include: GetIndex, SetIndices, VertexElementVector.
All exported members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: Data, Indices.
Description
VertexElementVector is a class in the Aspose.3D FOSS library for .NET that exposes 2 methods and 5 properties for programmatic use. It extends VertexElement and implements IIndexedVertexElement, inheriting shared functionality from its parent type.
The class also provides the Data property (gets the data), the Indices property (gets the indices).
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Data | List<FVector4> | Read | Gets the data. |
Indices | int[] | Read | Gets the indices. |
Methods
| Signature | Description |
|---|---|
VertexElementVector(type: VertexElementType, mappingMode: MappingMode, referenceMode: ReferenceMode) | Creates a vector with the given element type, mapping mode and reference mode |
SetIndices(indices: int[]) | Sets the indices for index-to-direct mapping |
GetIndex(i: int) | Gets the index at the specified position |