Skip to content

@tmrw-realityos/charm / Exports / Accessor

Interface: Accessor

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

Indexable

▪ [k: string]: any

Table of contents

Properties

Properties

bufferView

Optional bufferView: number

The index of the bufferView.

Defined in

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


byteOffset

Optional byteOffset: number

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

Defined in

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


componentType

componentType: number

The datatype of the accessor's components.

Defined in

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


count

count: number

The number of elements referenced by this accessor.

Defined in

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


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[]

Maximum value of each component in this accessor.

Defined in

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


min

Optional min: number[]

Minimum value of each component in this accessor.

Defined in

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


name

Optional name: any

Defined in

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


normalized

Optional normalized: boolean

Specifies whether integer data values are normalized before usage.

Defined in

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


sparse

Optional sparse: AccessorSparse

Sparse storage of elements that deviate from their initialization value.

Defined in

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


type

type: any

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

Defined in

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