Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Absolute2DPosition

Absolute cartesian 2D position. This class uses a Vector2. This location can be used both as an absolute location or relative location.

Hierarchy

Index

Constructors

constructor

Properties

accuracy

accuracy: number

Position accuracy

orientation

orientation: Orientation

Orientation at recorded position

referenceSpaceUID

referenceSpaceUID: string

Position reference space UID

timestamp

timestamp: number = ...

Position recording timestamp

unit

unit: LengthUnit = ...

Position unit

Protected vector

vector: Vector3 = ...

velocity

velocity: Velocity = ...

Velocity at recorded position

Accessors

angularVelocity

linearVelocity

x

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

y

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

Methods

angleTo

clone

distanceTo

equals

fromVector

toVector3