Packages

class Quaternion extends Object

Annotations
@JSType() @native() @JSImport("three", "Quaternion", "Three.Quaternion")
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Quaternion
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Quaternion(x: Double = js.native, y: Double = js.native, z: Double = js.native, w: Double = js.native)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): Quaternion
    Definition Classes
    Quaternion → AnyRef
  6. def conjugate(): Quaternion
  7. def copy(q: Quaternion): Quaternion
  8. def dot(v: Quaternion): Double
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(v: Quaternion): Boolean
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def fromArray(n: Array[Double]): Quaternion
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def inverse(): Quaternion
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  20. def length(): Double
  21. def lengthSq(): Double
  22. def multiply(q: Quaternion): Quaternion
  23. def multiplyQuaternions(a: Quaternion, b: Quaternion): Quaternion
  24. def multiplyVector3(vector: Vector3): Vector3
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def normalize(): Quaternion
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. var onChange: Function0[Unit]
  30. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  31. def set(x: Double, y: Double, z: Double, w: Double): Quaternion
  32. def setFromAxisAngle(axis: Vector3, angle: Double): Quaternion
  33. def setFromEuler(euler: Euler, update: Boolean = js.native): Quaternion
  34. def setFromRotationMatrix(m: Matrix4): Quaternion
  35. def setFromUnitVectors(vFrom: Vector3, vTo: Vector3): Quaternion
  36. def slerp(qb: Quaternion, t: Double): Quaternion
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toArray(): Array[Double]
  39. def toLocaleString(): String
    Definition Classes
    Object
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. def valueOf(): Any
    Definition Classes
    Object
  42. var w: Double
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. var x: Double
  47. var y: Double
  48. var z: Double

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped