GltfData
Overview
GltfData is a interface in Aspose.3D FOSS for Typescript.
GltfData.asset provides the glTF asset metadata including version and generator.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
asset | : { version: string; generator: string } | Read | Holds the glTF asset metadata with version and optional generator |
version | : string | Read | Is the glTF version string of the file |
generator | : string | Read | Returns the name of the tool that generated the glTF |
scene | : number | Read | Indicates the index of the default scene in the glTF file |
scenes | : GltfScene[] | Read | Is an array of scene objects, each listing its root node indices |
nodes | : GltfNode[] | Read | Defines node objects with optional name, mesh, children, and transforms |
meshes | : GltfMesh[] | Read | Is an array of mesh objects, each with optional name and primitives |
accessors | : GltfAccessor[] | Read | Is an array of accessor objects defining typed views of buffer data |
bufferViews | : GltfBufferView[] | Read | Is an array of buffer view objects describing slices of buffers |
buffers | : { byteLength: number; uri?: string }[] | Read | Is an array of buffer objects with byteLength and optional uri |
byteLength | : number | Read | Gives the total byte length of the binary glTF data |
uri | : string | Read | Provides the URI of the external binary buffer, if present |
materials | : GltfMaterial[] | Read | Is an array of material definitions used by meshes |