Class Vector3

Hierarchy

  • Vector3

Constructors

  • Parameters

    • Optional x: number
    • Optional y: number
    • Optional z: number

    Returns Vector3

  • Parameters

    • value: {
          x?: number;
          y?: number;
          z?: number;
      }
      • Optional x?: number
      • Optional y?: number
      • Optional z?: number

    Returns Vector3

Properties

x: number
y: number
z: number
ONE: Vector3 = ...
UNIT_X: Vector3 = ...
UNIT_Y: Vector3 = ...
UNIT_Z: Vector3 = ...
ZERO: Vector3 = ...

Accessors

  • get isZero(): boolean
  • Returns boolean

  • get length(): number
  • Returns number

  • get lengthSquared(): number
  • Returns number

Methods

  • Parameters

    Returns number

  • Parameters

    • vector: Vector3
    • epsilon: number = Number.EPSILON

    Returns boolean

Generated using TypeDoc