Appearance
@tmrw-realityos/charm • Docs
@tmrw-realityos/charm / Accessor
Interface: Accessor
A typed view into a buffer view that contains raw binary data.
Indexable
[k
: string
]: any
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.