Packages

class Matrix4 extends Object with Matrix

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

Instance Constructors

  1. new Matrix4()

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. def applyToVector3Array(array: Array[Double], offset: Double = js.native, length: Double = js.native): Array[Double]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): Matrix4
    Definition Classes
    Matrix4 → Matrix → AnyRef
  7. def compose(translation: Vector3, rotation: Quaternion, scale: Vector3): Matrix4
  8. def copy(m: Matrix4): Matrix4
  9. def copy(m: Matrix): Matrix
    Definition Classes
    Matrix
  10. def copyPosition(m: Matrix4): Matrix4
  11. def decompose(translation: Vector3 = js.native, rotation: Quaternion = js.native, scale: Vector3 = js.native): Array[AnyRef]
  12. def determinant(): Double
    Definition Classes
    Matrix4 → Matrix
  13. val elements: Float32Array
    Definition Classes
    Matrix
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def extractRotation(m: Matrix4): Matrix4
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. def flattenToArrayOffset(array: Array[Double], offset: Double): Array[Double]
  19. def fromArray(array: Array[Double]): Matrix4
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def getInverse(m: Matrix4, throwOnInvertible: Boolean): Matrix4
  22. def getInverse(m: Matrix4): Matrix4
  23. def getInverse(matrix: Matrix, throwOnInvertible: Boolean = js.native): Matrix
    Definition Classes
    Matrix
  24. def getMaxScaleOnAxis(): Double
  25. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def identity(): Matrix4
    Definition Classes
    Matrix4 → Matrix
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  30. def lookAt(eye: Vector3, target: Vector3, up: Vector3): Matrix4
  31. def makeBasis(xAxis: Vector3, yAxis: Vector3, zAxis: Vector3): Matrix4
  32. def makeFrustum(left: Double, right: Double, bottom: Double, top: Double, near: Double, far: Double): Matrix4
  33. def makeOrthographic(left: Double, right: Double, top: Double, bottom: Double, near: Double, far: Double): Matrix4
  34. def makePerspective(fov: Double, aspect: Double, near: Double, far: Double): Matrix4
  35. def makeRotationAxis(axis: Vector3, angle: Double): Matrix4
  36. def makeRotationFromEuler(euler: Euler): Matrix4
  37. def makeRotationFromQuaternion(q: Quaternion): Matrix4
  38. def makeRotationX(theta: Double): Matrix4
  39. def makeRotationY(theta: Double): Matrix4
  40. def makeRotationZ(theta: Double): Matrix4
  41. def makeScale(x: Double, y: Double, z: Double): Matrix4
  42. def makeTranslation(x: Double, y: Double, z: Double): Matrix4
  43. def multiply(m: Matrix4): Matrix4
  44. def multiplyMatrices(a: Matrix4, b: Matrix4): Matrix4
  45. def multiplyScalar(s: Double): Matrix4
    Definition Classes
    Matrix4 → Matrix
  46. def multiplyToArray(a: Matrix4, b: Matrix4, r: Array[Double]): Matrix4
  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  49. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  51. def scale(v: Vector3): Matrix4
  52. 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
  53. def setPosition(v: Vector3): Vector3
  54. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  55. def toArray(): Array[Double]
  56. def toLocaleString(): String
    Definition Classes
    Object
  57. def toString(): String
    Definition Classes
    AnyRef → Any
  58. def transpose(): Matrix4
    Definition Classes
    Matrix4 → Matrix
  59. def valueOf(): Any
    Definition Classes
    Object
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  61. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  62. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Matrix

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped