Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAttributeData

Hierarchy

Implemented by

Index

Properties

array: Int8Array | Uint8Array | Int16Array | Uint16Array | Uint32Array | Float32Array
byteOffset: number
convertedObject: {}

The converted object of the tree node.

Type declaration

  • [key: string]: unknown
count: number
elementBytes: number
id: string

The ID of the tree node data.

itemBytes: number
itemSize: number
max: number[]
min: number[]
morphAttributeData: IAttributeData[]
normalized: boolean
target: undefined | number
updateCallback: null | ((newVersion: string, oldVersion: string) => void)

The update callback for the tree node data. This callback is called when the node is updated, e.g. when the version changes.

updateCallbackConvertedObject: null | ((newObj: unknown, oldObj: unknown, viewport: string) => void)

The update callback for the converted object of the tree node.

version: string

The version of the tree node data. If the version changes, the node data will be marked for an update. A version change can be triggered via updateVersion.

byteStride?: number
sparse?: boolean
sparseIndices?: Int8Array | Uint8Array | Int16Array | Uint16Array | Uint32Array | Float32Array
sparseValues?: Int8Array | Uint8Array | Int16Array | Uint16Array | Uint32Array | Float32Array

Methods

  • updateVersion(): void