GltfPrimitive
Overview
GltfPrimitive is a interface in Aspose.3D FOSS for Typescript.
GltfPrimitive.attributes maps attribute names to accessor indices for the primitive.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
attributes | : { [key: string]: number } | Read | Maps attribute names to accessor indices for the primitive |
indices | : number | Read | Holds the accessor index that defines the primitive’s index buffer |
material | : number | Read | Stores the index of the material applied to the primitive |
mode | : number | Read | Indicates the drawing mode (e.g., triangles, lines) of the primitive |