VertexElementFVector
General
VertexElementFVector is a class in Aspose.3d for Typescript.
Inherits from: VertexElementFVector, VertexElement.
VertexElementFVector és una classe de l’Aspose.3d per a Typescript. És heretat de: ̋Vortex Element FVectori∂, ゚VertexElement∂.
VertexElementFVector.constructor crea un nou element de vèrtex amb tipus, nom, mappatge opcional i modes de referència.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
data | FVector4[] | Read | Holds the array of FVector4 values stored in the element |
indices | number[] | Read | Holds the numeric index array used for vertex referencing |
Mètodes
| Signature | Description |
|---|---|
| `constructor(elementType: VertexElementType, name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode |
| `setData(data: FVector4[] | FVector3[] |
setIndices(data: number[]) | Sets the index buffer that maps vertices to this element |
clear() | Removes all data and indices from the element |
copyTo(target: VertexElementFVector) | Copies this element’s data and indices into the target VertexElementFVector |