VertexElementTangent

VertexElementTangent

Overview

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

This class declares 6 methods for VertexElementTangent 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(name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode | null)Calls constructor(name, mappingMode, referenceMode) on this VertexElementTangent instance.
constructor(elementType: VertexElementType, name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode | null)Calls constructor(elementType, name, mappingMode, referenceMode) on this VertexElementTangent instance.
setData(data: FVector4[] | FVector3[] | FVector2[])Sets the data value.
setIndices(data: number[])Sets the indices value.
clear()Calls clear on this VertexElementTangent instance.
copyTo(target: VertexElementFVector)Calls copyTo(target) on this VertexElementTangent instance.

See Also

 English