class Quaternion extends Object
- Annotations
- @JSType() @native() @JSImport("three", "Quaternion", "Three.Quaternion")
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Quaternion
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Quaternion(x: Double = js.native, y: Double = js.native, z: Double = js.native, w: Double = js.native)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): Quaternion
- Definition Classes
- Quaternion → AnyRef
- def conjugate(): Quaternion
- def copy(q: Quaternion): Quaternion
- def dot(v: Quaternion): Double
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(v: Quaternion): Boolean
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromArray(n: Array[Double]): Quaternion
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def inverse(): Quaternion
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def length(): Double
- def lengthSq(): Double
- def multiply(q: Quaternion): Quaternion
- def multiplyQuaternions(a: Quaternion, b: Quaternion): Quaternion
- def multiplyVector3(vector: Vector3): Vector3
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def normalize(): Quaternion
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- var onChange: Function0[Unit]
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def set(x: Double, y: Double, z: Double, w: Double): Quaternion
- def setFromAxisAngle(axis: Vector3, angle: Double): Quaternion
- def setFromEuler(euler: Euler, update: Boolean = js.native): Quaternion
- def setFromRotationMatrix(m: Matrix4): Quaternion
- def setFromUnitVectors(vFrom: Vector3, vTo: Vector3): Quaternion
- def slerp(qb: Quaternion, t: Double): Quaternion
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toArray(): Array[Double]
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- var w: Double
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- var x: Double
- var y: Double
- var z: Double