Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TerrainBuffer

Hierarchy

  • TerrainBuffer

Index

Properties

Private _buffView

_buffView: DataView = new DataView(this.buffer.buffer)

Private _seekPos

_seekPos: number = 0

buffer

buffer: Uint8Array = new Uint8Array(2048)

length

length: number = 0

Methods

assign

  • assign(buff: Uint8Array): void

readFloat

  • readFloat(): number

readFloatArray

  • readFloatArray(value: number[]): number[]

readInt

  • readInt(): number

readInt16

  • readInt16(): number

readInt8

  • readInt8(): number

readIntArray

  • readIntArray(value: number[]): number[]

readString

  • readString(): string

reserve

  • reserve(size: number): void

writeFloat

  • writeFloat(value: number): void

writeFloatArray

  • writeFloatArray(value: number[]): void

writeInt16

  • writeInt16(value: number): void

writeInt32

  • writeInt32(value: number): void

writeInt8

  • writeInt8(value: number): void

writeIntArray

  • writeIntArray(value: number[]): void

writeString

  • writeString(value: string): void

Generated using TypeDoc