Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • YVector3

Index

Constructors

constructor

Accessors

cloned

magnitude

  • get magnitude(): number
  • Returns number

sqrMagnitude

  • get sqrMagnitude(): number
  • Returns number

x

  • get x(): number
  • set x(value: number): any
  • Returns number

  • Parameters

    • value: number

    Returns any

y

  • get y(): number
  • set y(value: number): any
  • Returns number

  • Parameters

    • value: number

    Returns any

z

  • get z(): number
  • set z(value: number): any
  • Returns number

  • Parameters

    • value: number

    Returns any

Methods

Static angle

Static create

  • create(x: number, y: number, z: number): YVector3
  • Parameters

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

    Returns YVector3

Static cross

Static distance

Static dot

Static fromToRotation

Static getLookRotation

Static inverseRotation

Static lerp

Static lerpRotation

Static max

Static min

Static moveTowards

Static normalize

Static project

Static randomPointInUnitCircle

Static randomPointInUnitSphere

Static randomPointOnUnitSphere

Static randomRotation

Static rotateRotation

Static rotateVector

Static rotationAngle

Static rotationAngleAxis

Static rotationTowards

Static scale

Static slerpRotation

Generated using TypeDoc