docsby gkjohnson
On this page

Properties

buffer: ArrayBuffer

binOffset: number

binLength: number

Methods

new FeatureTable(
	buffer: ArrayBuffer,

	// Byte offset of the feature table within the buffer
	start: number,

	// Byte length of the JSON header
	headerLength: number,

	// Byte length of the binary body
	binLength: number
)
getKeys(): Array<string>
getData(
	key: string,

	// Number of elements to read for binary properties
	count: number,

	// Fallback component type (e.g. `'FLOAT'`, `'UNSIGNED_SHORT'`)
	defaultComponentType: string | null = null,

	// Fallback vector type (e.g. `'SCALAR'`, `'VEC3'`)
	defaultType: string | null = null
): number | string | ArrayBufferView | null
getBuffer( byteOffset: number, byteLength: number ): ArrayBuffer