VertexElementTemplate
Overview
VertexElementTemplate is a class in Aspose.3D FOSS for Java.
Inherits from: VertexElement.
VertexElementTemplate.getData() returns the generic list of stored values, allowing custom templated vertex attributes to be inspected or modified.
This class provides 15 methods for working with VertexElementTemplate objects in Java programs.
Available methods include: clear, clone, copyTo, getData, getIndices, getMappingMode, getName, getReferenceMode, getVertexElementType, setData, setIndices, setMappingMode, and 3 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: data, indices, mappingMode, name, referenceMode, vertexElementType.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
data | List<T> | Read | Gets the data. |
vertexElementType | VertexElementType | Read | Gets the type of the vertex element. |
name | String | Read | Gets the name of the vertex element. |
mappingMode | MappingMode | Read | Gets the mapping mode. |
referenceMode | ReferenceMode | Read | Gets the reference mode. |
indices | List<Integer> | Read | Gets the indices list. |
Methods
| Signature | Description |
|---|---|
clone(withData: boolean, withIndices: boolean) → VertexElement | Calls clone(withData, withIndices) on this VertexElementTemplate instance. |
copyTo(target: VertexElementTemplate<T>) | Calls copyTo(target) on this VertexElementTemplate instance. |
getData() → List<T> | Returns the data. |
setData(data: T[]) | Sets the data value. |
clear() | Calls clear on this VertexElementTemplate instance. |
getVertexElementType() → VertexElementType | Gets the type of the vertex element. |
getName() → String | Gets the name of the vertex element. |
setName(name: String) | Sets the name of the vertex element. |
getMappingMode() → MappingMode | Gets the mapping mode. |
setMappingMode(mappingMode: MappingMode) | Sets the mapping mode. |
getReferenceMode() → ReferenceMode | Gets the reference mode. |
setReferenceMode(referenceMode: ReferenceMode) | Sets the reference mode. |
getIndices() → List<Integer> | Gets the indices list. |
setIndices(indices: int[]) | Sets the indices array. |
toString() → String | Returns a string representation of the vertex element. |