PropertyCollection{/PLANKER:}Vyzerá to ako...
Prehľad
VertexField je trieda v Aspose.3d pre Typescript. dedičstvo od: VertexField.
VertexField.constructor creates a new VertexField with the given data type, semantic, alias, offset, and index.
Vlastnosti
| Názov: | Typ: | Prístup | Opis: |
|---|---|---|---|
dataType | VertexFieldDataType | Čítajte si . | Uloží VertexFieldDataType , ktorý definuje zobrazenie údajov poľa. |
semantic | VertexFieldSemantic | Čítajte si . | Drží VertexFieldSemantic označujúce účel poľa v rozložení vrcholu. |
alias | string | Čítajte si . | Je reťaz, ktorá poskytuje vlastný názov pre vrcholové pole |
index | number | Čítajte si . | Uveďte postupný index poľa v deklarácii vrcholu. |
offset | number | Čítajte si . | Uveďte byte posun poľa od začiatku dát vrcholu . |
size | number | Čítajte si . | Vráti veľkosť poľa v bajtovách na základe jeho typu údajov . |
Metódy
| Podpis | Opis: |
|---|---|
constructor(dataType: VertexFieldDataType, semantic: VertexFieldSemantic, alias: string, offset: number, index: number) | Vytvorí nový VertexField s uvedeným typom údajov, sémantikou, aliasmi, offset a indexom. |
compareTo(other: VertexField) → number | Vráti číselnú hodnotu pri porovnávaní s inou VertexField |