Matrix3

@native @JSImport("three", "Matrix3") @JSType class Matrix3 extends Matrix
trait Matrix
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def equals(matrix: Matrix3): Boolean
def extractBasis(xAxis: Vector3, yAxis: Vector3, zAxis: Vector3): Matrix3
def flattenToArrayOffset(array: Array[Double], offset: Double): Array[Double]
def fromArray(array: Array[Double] | Uint8Array | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float32Array | Float64Array | Array[Double], offset: UndefOr[Double]): Matrix3
def getInverse(matrix: Matrix4, throwOnDegenerate: UndefOr[Boolean]): Matrix3
def getInverse(matrix: Matrix): Matrix
def multiplyVector3(vector: Vector3): Any
def multiplyVector3Array(a: Any): Any
def rotate(theta: Double): Matrix3
def scale(sx: Double, sy: Double): Matrix3
def set(n11: Double, n12: Double, n13: Double, n21: Double, n22: Double, n23: Double, n31: Double, n32: Double, n33: Double): Matrix3
def setUvTransform(tx: Double, ty: Double, sx: Double, sy: Double, rotation: Double, cx: Double, cy: Double): Matrix3
def toArray(array: UndefOr[Array[Double]], offset: UndefOr[Double]): Array[Double]
def translate(tx: Double, ty: Double): Matrix3
def transposeIntoArray(r: Array[Double]): Matrix3

Inherited methods

def copy(m: Matrix3): Matrix3
Inherited from
Matrix
def determinant(): Double
Inherited from
Matrix
def hasOwnProperty(v: String): Boolean
Inherited from
Object
Inherited from
Matrix
def invert(): Matrix
Inherited from
Matrix
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
@JSName("clone")
def jsClone(): Matrix
Inherited from
Matrix
def multiplyScalar(s: Double): Matrix
Inherited from
Matrix
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
Inherited from
Matrix
def valueOf(): Any
Inherited from
Object

Inherited fields

var elements: Array[Double]
Inherited from
Matrix