VertexElementUV
Overview
VertexElementUV is a class in Aspose.3D FOSS for Java.
Inherits from: VertexElementFVector.
VertexElementUV.addData(data) appends a new UV coordinate to the element’s data collection.
This class provides 23 methods for working with VertexElementUV objects in Java programs.
Available methods include: VertexElementUV, addData, addData2, clear, clone, copyTo, getData, getIndices, getMappingMode, getName, getReferenceMode, getVertexElementType, and 6 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 |
|---|---|---|---|
vertexElementType | VertexElementType | Read | Gets the vertex element type. |
data | List<FVector4> | Read | Gets the data. |
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 |
|---|---|
VertexElementUV() | Creates a new instance with the given texture mapping, mapping mode, and reference mode |
VertexElementUV(mapping: TextureMapping) | Calls VertexElementUV(mapping) on this VertexElementUV instance. |
getVertexElementType() → VertexElementType | Returns the vertex element type. |
addData(data: java.lang.Iterable<Vector2>) | Appends a new UV coordinate to the element’s data collection |
addData2(data: java.lang.Iterable<Vector3>) | Calls addData2(data) on this VertexElementUV instance. |
clear() | Calls clear on this VertexElementUV instance. |
clone(withData: boolean, withIndices: boolean) → VertexElement | Calls clone(withData, withIndices) on this VertexElementUV instance. |
copyTo(target: VertexElementFVector) | Calls copyTo(target) on this VertexElementUV instance. |
getData() → List<FVector4> | Returns the data. |
setData(data: FVector4[]) | Sets the data value. |
setData(data: FVector3[]) | Sets the data value. |
setData(data: FVector2[]) | Sets the data value. |
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. |
clone(withData: boolean) → VertexElement | Clones the vertex element. |
clone() → VertexElement | Clones the vertex element with default settings. |
toString() → String | Returns a string representation of the vertex element. |