VertexElement
Overview
VertexElement is a class in Aspose.3D FOSS for Java.
VertexElement.getType returns the element’s data type.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
type | VertexElementType | Read | Represents the data type of the vertex element |
mappingMode | MappingMode | Read | Represents the mapping mode of the vertex element |
referenceMode | ReferenceMode | Read | Represents the reference mode of the vertex element |
indices | List<Integer> | Read | Holds the list of index values for the element |
data | List<Object> | Read | Holds the list of data objects stored in the element |
Methods
| Signature | Description |
|---|---|
getType() → VertexElementType | Returns the element’s data type |
getMappingMode() → MappingMode | Returns the element’s mapping mode |
getReferenceMode() → ReferenceMode | Returns the element’s reference mode |
getIndices() → List<Integer> | Returns the list of index values |
getData() → List<Object> | Returns the list of stored data objects |
setData(data: List<Object>) | Replaces the element’s data with the given list |
setIndices(indices: List<Integer>) | Sets the element’s index list to the provided values |
clone() → VertexElement | Creates a deep copy of this VertexElement |