VertexElementUV

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

NameTypeAccessDescription
vertexElementTypeVertexElementTypeReadGets the vertex element type.
dataList<FVector4>ReadGets the data.
nameStringReadGets the name of the vertex element.
mappingModeMappingModeReadGets the mapping mode.
referenceModeReferenceModeReadGets the reference mode.
indicesList<Integer>ReadGets the indices list.

Methods

SignatureDescription
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()VertexElementTypeReturns 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)VertexElementCalls 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()StringGets the name of the vertex element.
setName(name: String)Sets the name of the vertex element.
getMappingMode()MappingModeGets the mapping mode.
setMappingMode(mappingMode: MappingMode)Sets the mapping mode.
getReferenceMode()ReferenceModeGets 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)VertexElementClones the vertex element.
clone()VertexElementClones the vertex element with default settings.
toString()StringReturns a string representation of the vertex element.

See Also

 English