VertexElementFVektor
Približni podaci
VertexElementFVector je klasa u Aspose.3d za Typescript. Nasljednici od: VertexElementFVector, VertexElement.
VertexElementFVector.constructor creates a new vertex element with type, name, optional mapping and reference modes.
Oznake i značajke
| Izvršni datum: | Iznos: | Prihvat | Opisivanje |
|---|---|---|---|
data | FVector4[] | Čitaj. | Sadrži niz FVector4 vrijednosti pohranjenih u elementu. |
indices | number[] | Čitaj. | Sadrži numerički indeksni niz koji se koristi za referencije na vrhove. |
Metoda za primjenu
| Potpis | Opisivanje |
|---|---|
| `constructor(elementType: VertexElementType, name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode |
| `setData(data: FVector4[] | FVector3[] |
setIndices(data: number[]) | Postavlja indeksni tampon koji mapira vrhove na ovaj element |
clear() | Uklanja sve podatke i indekse iz elementa |
copyTo(target: VertexElementFVector) | Kopira podatke i indekse ovog elementa u ciljni VertexElementFVector. |