Skip to content

@tmrw-realityos/charm


@tmrw-realityos/charm / Accessor

Interface: Accessor

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

A typed view into a buffer view that contains raw binary data.

Indexable

[k: string]: any

Properties

bufferView?

optional bufferView: number

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

The index of the bufferView.


byteOffset?

optional byteOffset: number

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

The offset relative to the start of the buffer view in bytes.


componentType

componentType: number

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

The datatype of the accessor's components.


count

count: number

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

The number of elements referenced by this accessor.


extensions?

optional extensions: any

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


extras?

optional extras: any

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


max?

optional max: number[]

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

Maximum value of each component in this accessor.


min?

optional min: number[]

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

Minimum value of each component in this accessor.


name?

optional name: any

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


normalized?

optional normalized: boolean

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

Specifies whether integer data values are normalized before usage.


sparse?

optional sparse: AccessorSparse

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

Sparse storage of elements that deviate from their initialization value.


type

type: any

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

Specifies if the accessor's elements are scalars, vectors, or matrices.