Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Point3D

Instantiations of this class define a position in 3D space. The position of a user affects the way the mixed spatial audio is heard by the user.

Hierarchy

  • Point3D

Index

Constructors

Properties

Constructors

constructor

  • new Point3D(__namedParameters?: { x?: number; y?: number; z?: number }): Point3D
  • Construct a new Point3D object. All parameters are optional. Unset parameters will be set to null. Remember, all units for member variables are meters.

    Parameters

    • __namedParameters: { x?: number; y?: number; z?: number } = ...
      • Optional x?: number
      • Optional y?: number
      • Optional z?: number

    Returns Point3D

Properties

x

x: number

By default, +x is to the right and -x is to the left. Units for this member variable are meters.

y

y: number

By default, +y is into the screen and -y is out of the screen towards the user. Units for this member variable are meters.

z

z: number

By default, +z is up and -z is down. Units for this member variable are meters.