Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • JSONTemplate
    • Position

Implements

  • IPosition

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new Position(parent: IMemory): Position

Properties

jsonFields

jsonFields: string[] = ...

Private Readonly parent

parent: IMemory

Accessors

x

  • get x(): number
  • set x(x: number): void

y

  • get y(): number
  • set y(y: number): void

z

  • get z(): number
  • set z(z: number): void

Methods

getRawPos

  • getRawPos(): Buffer

getVec3

  • getVec3(): Vector3

setRawPos

  • setRawPos(pos: Buffer): void

toJSON

  • toJSON(): any
  • Returns any

Generated using TypeDoc