class Matrix4 extends Object with Matrix
- Annotations
- @JSType() @native() @JSImport("three", "Matrix4", "Three.Matrix4")
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Matrix4
- Matrix
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Matrix4()
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
- def applyToVector3Array(array: Array[Double], offset: Double = js.native, length: Double = js.native): Array[Double]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): Matrix4
- def compose(translation: Vector3, rotation: Quaternion, scale: Vector3): Matrix4
- def copy(m: Matrix4): Matrix4
- def copy(m: Matrix): Matrix
- Definition Classes
- Matrix
- def copyPosition(m: Matrix4): Matrix4
- def decompose(translation: Vector3 = js.native, rotation: Quaternion = js.native, scale: Vector3 = js.native): Array[AnyRef]
- def determinant(): Double
- val elements: Float32Array
- Definition Classes
- Matrix
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extractRotation(m: Matrix4): Matrix4
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flattenToArrayOffset(array: Array[Double], offset: Double): Array[Double]
- def fromArray(array: Array[Double]): Matrix4
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getInverse(m: Matrix4, throwOnInvertible: Boolean): Matrix4
- def getInverse(m: Matrix4): Matrix4
- def getInverse(matrix: Matrix, throwOnInvertible: Boolean = js.native): Matrix
- Definition Classes
- Matrix
- def getMaxScaleOnAxis(): Double
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def identity(): Matrix4
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def lookAt(eye: Vector3, target: Vector3, up: Vector3): Matrix4
- def makeBasis(xAxis: Vector3, yAxis: Vector3, zAxis: Vector3): Matrix4
- def makeFrustum(left: Double, right: Double, bottom: Double, top: Double, near: Double, far: Double): Matrix4
- def makeOrthographic(left: Double, right: Double, top: Double, bottom: Double, near: Double, far: Double): Matrix4
- def makePerspective(fov: Double, aspect: Double, near: Double, far: Double): Matrix4
- def makeRotationAxis(axis: Vector3, angle: Double): Matrix4
- def makeRotationFromEuler(euler: Euler): Matrix4
- def makeRotationFromQuaternion(q: Quaternion): Matrix4
- def makeRotationX(theta: Double): Matrix4
- def makeRotationY(theta: Double): Matrix4
- def makeRotationZ(theta: Double): Matrix4
- def makeScale(x: Double, y: Double, z: Double): Matrix4
- def makeTranslation(x: Double, y: Double, z: Double): Matrix4
- def multiply(m: Matrix4): Matrix4
- def multiplyMatrices(a: Matrix4, b: Matrix4): Matrix4
- def multiplyScalar(s: Double): Matrix4
- def multiplyToArray(a: Matrix4, b: Matrix4, r: Array[Double]): Matrix4
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def scale(v: Vector3): Matrix4
- def set(n11: Double, n12: Double, n13: Double, n14: Double, n21: Double, n22: Double, n23: Double, n24: Double, n31: Double, n32: Double, n33: Double, n34: Double, n41: Double, n42: Double, n43: Double, n44: Double): Matrix4
- def setPosition(v: Vector3): Vector3
- 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 transpose(): Matrix4
- def valueOf(): Any
- Definition Classes
- Object
- 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()