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
| Name | Type | Access | Description |
|---|---|---|---|
data | FVector4[] | Read | Gets the data. |
indices | number[] | Read | Gets the indices. |
vertexElementType | VertexElementType | Read | Gets the vertex element type. |
name | string | Read/Write | Gets the name. |
mappingMode | MappingMode | Read/Write | Gets the mapping mode. |
referenceMode | ReferenceMode | Read/Write | Gets the reference mode. |
Methods
| Signature | Description |
|---|---|
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. |