VertexElementFVector
Opinie generală
VertexElementFVector este o clasă din Aspose.3d pentru Typescript. Moștenit de la: ̋Vortex Element FVectore∂, ゚VertexElement∂.
VertexElementFVector.constructor creează un nou element de vârf cu tip, nume, mapare opțională și moduri de referință.
Proprietăți
| 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 |
Metode de evaluare
| 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 |