VertexElementWeight

VertexElementWeight

Overview

VertexElementWeight is a class in Aspose.3D FOSS for Java. Inherits from: VertexElementDoublesTemplate.

VertexElementWeight.setData(List) assigns weight values to vertices for skinning operations.

This class provides 16 methods for working with VertexElementWeight objects in Java programs. Available methods include: VertexElementWeight, clear, clone, copyTo, getData, getIndices, getMappingMode, getName, getReferenceMode, getVertexElementType, setData, setIndices, and 4 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<Double>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
VertexElementWeight()Calls VertexElementWeight on this VertexElementWeight instance.
getVertexElementType()VertexElementTypeReturns the vertex element type.
clear()Calls clear on this VertexElementWeight instance.
clone(withData: boolean, withIndices: boolean)VertexElementCalls clone(withData, withIndices) on this VertexElementWeight instance.
copyTo(target: VertexElementDoublesTemplate)Calls copyTo(target) on this VertexElementWeight instance.
getData()List<Double>Returns the data.
setData(data: double[])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.
toString()StringReturns a string representation of the vertex element.

See Also