GltfPrimitive

Overview

GltfPrimitive is a interface in Aspose.3D FOSS for Typescript.

GltfPrimitive.attributes maps attribute names to accessor indices for the primitive.

Properties

NameTypeAccessDescription
attributes: { [key: string]: number }ReadMaps attribute names to accessor indices for the primitive
indices: numberReadHolds the accessor index that defines the primitive’s index buffer
material: numberReadStores the index of the material applied to the primitive
mode: numberReadIndicates the drawing mode (e.g., triangles, lines) of the primitive

See Also