Skip to content

@tmrw-realityos/charmDocs


@tmrw-realityos/charm / GlTf

Interface: GlTf

The root object for a glTF asset.

Indexable

[k: string]: any

Properties

accessors?

optional accessors: Accessor[]

An array of accessors.

Defined in

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


animations?

optional animations: 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?

optional buffers: Buffer[]

An array of buffers.

Defined in

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


bufferViews?

optional bufferViews: BufferView[]

An array of bufferViews.

Defined in

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


cameras?

optional cameras: Camera[]

An array of cameras.

Defined in

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


extensions?

optional extensions: any

Defined in

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


extensionsRequired?

optional extensionsRequired: string[]

Names of glTF extensions required to properly load this asset.

Defined in

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


extensionsUsed?

optional extensionsUsed: string[]

Names of glTF extensions used in this asset.

Defined in

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


extras?

optional extras: any

Defined in

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


images?

optional images: Image[]

An array of images.

Defined in

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


materials?

optional materials: Material[]

An array of materials.

Defined in

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


meshes?

optional meshes: Mesh[]

An array of meshes.

Defined in

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


nodes?

optional nodes: Node[]

An array of nodes.

Defined in

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


samplers?

optional samplers: Sampler[]

An array of samplers.

Defined in

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


scene?

optional scene: number

The index of the default scene.

Defined in

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


scenes?

optional scenes: Scene[]

An array of scenes.

Defined in

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


skins?

optional skins: Skin[]

An array of skins.

Defined in

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


textures?

optional textures: Texture[]

An array of textures.

Defined in

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