Class ReferenceSpace

A reference space transforms absolute positions to another (global) reference space. The following data can be transformed:

  • Position coordinates
  • Linear velocity
  • Angular velocity
  • Orientation
  • Position accuracy

Hierarchy (view full)

Implements

Constructors

Properties

createdTimestamp: number

Created timestamp

displayName: string

Object display name

parentUID: string
uid: string

Object identifier

Returns

Unique object identifier

Accessors

Methods

  • Transform perspective

    Parameters

    • left: number

      Farthest left on the x-axis

    • right: number

      Farthest right on the x-axis

    • bottom: number

      Farthest down on the y-axis

    • top: number

      Farthest up on the y-axis

    • near: number

      Distance to the near clipping plane along the -Z axis

    • far: number

      Distance to the far clipping plane along the -Z axis

    Returns ReferenceSpace

    Reference space instance