Skip to content

@tmrw-realityos/charm


@tmrw-realityos/charm / GlTf

Interface: GlTf

Defined in: packages/charm/src/fileFormats/GLTF.ts:613

The root object for a glTF asset.

Indexable

[k: string]: any

Properties

accessors?

optional accessors: Accessor[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:625

An array of accessors.


animations?

optional animations: Animation[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:629

An array of keyframe animations.


asset

asset: Asset

Defined in: packages/charm/src/fileFormats/GLTF.ts:633

Metadata about the glTF asset.


buffers?

optional buffers: Buffer[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:637

An array of buffers.


bufferViews?

optional bufferViews: BufferView[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:641

An array of bufferViews.


cameras?

optional cameras: Camera[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:645

An array of cameras.


extensions?

optional extensions: any

Defined in: packages/charm/src/fileFormats/GLTF.ts:682


extensionsRequired?

optional extensionsRequired: string[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:621

Names of glTF extensions required to properly load this asset.


extensionsUsed?

optional extensionsUsed: string[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:617

Names of glTF extensions used in this asset.


extras?

optional extras: any

Defined in: packages/charm/src/fileFormats/GLTF.ts:683


images?

optional images: Image[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:649

An array of images.


materials?

optional materials: Material[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:653

An array of materials.


meshes?

optional meshes: Mesh[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:657

An array of meshes.


nodes?

optional nodes: Node[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:661

An array of nodes.


samplers?

optional samplers: Sampler[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:665

An array of samplers.


scene?

optional scene: number

Defined in: packages/charm/src/fileFormats/GLTF.ts:669

The index of the default scene.


scenes?

optional scenes: Scene[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:673

An array of scenes.


skins?

optional skins: Skin[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:677

An array of skins.


textures?

optional textures: Texture[]

Defined in: packages/charm/src/fileFormats/GLTF.ts:681

An array of textures.