Class Matrix

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(x: Vector3, y: Vector3, z: Vector3, _origin?: Vector3): Matrix

Parameters

Returns

Matrix

Properties

public origin: Vector3

public xBasis: Vector3

public yBasis: Vector3

public zBasis: Vector3

Methods

public static identity(): Matrix

Returns

Matrix

public isEqualTo(other: Matrix): boolean

Parameters

Returns

boolean

public multiply(other: Matrix): Matrix

Parameters

Returns

Matrix

public multiplyAssign(other: Matrix): Matrix

Parameters

Returns

Matrix

public rigidInverse(): Matrix

Returns

Matrix

public setRotation(_axis: Vector3, angleRadians: number)

Parameters

  • _axis: Vector3
  • angleRadians: number

public toString(): string

Returns

string

public transformDirection(inVector: Vector3): Vector3

Parameters

Returns

Vector3

public transformPoint(inVector: Vector3): Vector3

Parameters

Returns

Vector3