VertexElementFVector

VertexElementFVector

Overview

VertexElementFVector is a class in Aspose.3D FOSS for TypeScript. Inherits from: VertexElement.

VertexElementFVector.constructor creates a new VertexElementFVector with specified type, name, and optional mapping/reference modes.

This class declares 5 methods for VertexElementFVector objects in TypeScript programs. Available methods include: clear, constructor, copyTo, setData, setIndices. Public members are accessible to any TypeScript application after installing the Aspose.3D FOSS for TypeScript package. Properties: data, indices, mappingMode, name, referenceMode, vertexElementType.

Properties

NameTypeAccessDescription
dataFVector4[]ReadGets the data.
indicesnumber[]ReadGets the indices.
vertexElementTypeVertexElementTypeReadGets the vertex element type.
namestringRead/WriteGets the name.
mappingModeMappingModeRead/WriteGets the mapping mode.
referenceModeReferenceModeRead/WriteGets the reference mode.

Methods

SignatureDescription
constructor(elementType: VertexElementType, name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode | null)Creates a new VertexElementFVector with specified type, name, and optional mapping/reference modes
setData(data: FVector4[] | FVector3[] | FVector2[])Sets the data value.
setIndices(data: number[])Sets the indices value.
clear()Removes all stored vector data and indices from the element
copyTo(target: VertexElementFVector)Copies this element’s data and indices into the target VertexElementFVector

See Also

 English