Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TerrainBuffer

Hierarchy

  • TerrainBuffer

Index

Properties

Buffer

Buffer: Uint8Array = new Uint8Array(2048)

Length

Length: number = 0

Private _dview

_dview: DataView = new DataView(this.Buffer.buffer)

Private _seekPos

_seekPos: 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