Appearance
@tmrw-realityos/charm • Docs
@tmrw-realityos/charm / GlTf
Interface: GlTf
The root object for a glTF asset.
Indexable
[k: string]: any
Properties
accessors?
optionalaccessors:Accessor[]
An array of accessors.
Defined in
packages/charm/src/fileFormats/GLTF.ts:625
animations?
optionalanimations:Animation[]
An array of keyframe animations.
Defined in
packages/charm/src/fileFormats/GLTF.ts:629
asset
asset:
Asset
Metadata about the glTF asset.
Defined in
packages/charm/src/fileFormats/GLTF.ts:633
buffers?
optionalbuffers:Buffer[]
An array of buffers.
Defined in
packages/charm/src/fileFormats/GLTF.ts:637
bufferViews?
optionalbufferViews:BufferView[]
An array of bufferViews.
Defined in
packages/charm/src/fileFormats/GLTF.ts:641
cameras?
optionalcameras:Camera[]
An array of cameras.
Defined in
packages/charm/src/fileFormats/GLTF.ts:645
extensions?
optionalextensions:any
Defined in
packages/charm/src/fileFormats/GLTF.ts:682
extensionsRequired?
optionalextensionsRequired:string[]
Names of glTF extensions required to properly load this asset.
Defined in
packages/charm/src/fileFormats/GLTF.ts:621
extensionsUsed?
optionalextensionsUsed:string[]
Names of glTF extensions used in this asset.
Defined in
packages/charm/src/fileFormats/GLTF.ts:617
extras?
optionalextras:any
Defined in
packages/charm/src/fileFormats/GLTF.ts:683
images?
optionalimages:Image[]
An array of images.
Defined in
packages/charm/src/fileFormats/GLTF.ts:649
materials?
optionalmaterials:Material[]
An array of materials.
Defined in
packages/charm/src/fileFormats/GLTF.ts:653
meshes?
optionalmeshes:Mesh[]
An array of meshes.
Defined in
packages/charm/src/fileFormats/GLTF.ts:657
nodes?
optionalnodes:Node[]
An array of nodes.
Defined in
packages/charm/src/fileFormats/GLTF.ts:661
samplers?
optionalsamplers:Sampler[]
An array of samplers.
Defined in
packages/charm/src/fileFormats/GLTF.ts:665
scene?
optionalscene:number
The index of the default scene.
Defined in
packages/charm/src/fileFormats/GLTF.ts:669
scenes?
optionalscenes:Scene[]
An array of scenes.
Defined in
packages/charm/src/fileFormats/GLTF.ts:673
skins?
optionalskins:Skin[]
An array of skins.
Defined in
packages/charm/src/fileFormats/GLTF.ts:677
textures?
optionaltextures:Texture[]
An array of textures.