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 provides 5 methods for working with VertexElementFVector objects in Typescript programs. Available methods include: clear, constructor, copyTo, setData, setIndices. All public members are accessible to any Typescript application after installing the Aspose.3D FOSS for Typescript package. Properties: data, indices.

Description

VertexElementFVector is a class in the Aspose.3D FOSS library for TypeScript that exposes 4 methods and 2 properties for programmatic use. It extends VertexElement, inheriting shared functionality from its parent type.

Core capabilities include: fvector4[]; number[]; creates a new vertexelementfvector with specified type, name, and optional mapping/reference modes. These operations enable developers to integrate vertexelementfvector functionality directly into TypeScript applications.

The class also provides the data property (gets the data), the indices property (gets the indices).

Instances are created through a single constructor that initializes the object with default values.

Properties

NameTypeAccessDescription
dataFVector4[]ReadGets the data.
indicesnumber[]ReadGets the indices.

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