Matrix4 class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage Float32List
getter/setter pair
type String
getter/setter pair

Methods

clone() Matrix4
compose(Vector3 position, Quaternion quaternion, Vector3 scale) Matrix4
copyFromArray(List<double> array, [int offset = 0]) Matrix4
copyFromUnknown(dynamic array, [int offset = 0]) Matrix4
copyIntoArray(List<num> array, [int offset = 0]) List<num>
copyMatrixToVector3(Matrix4 m, [int row = 3]) Matrix4
copyPosition(Matrix4 m) Matrix4
decompose(Vector3 position, Quaternion quaternion, Vector3 scale) Matrix4
determinant() double
equals(Matrix4 matrix) bool
extractBasis(Vector3 xAxis, Vector3 yAxis, Vector3 zAxis) Matrix4
extractRotation(Matrix4 m) Matrix4
fromNativeArray(dynamic array, [int offset = 0]) Matrix4
getInverse(Matrix4 matrix) Matrix4
getMaxScaleOnAxis() double
identity() Matrix4
invert() Matrix4
lookAt(Vector3 eye, Vector3 target, Vector3 up) Matrix4
makeBasis(Vector3 xAxis, Vector3 yAxis, Vector3 zAxis) Matrix4
makeOrthographic(double left, double right, double top, double bottom, double near, double far) Matrix4
makePerspective(double left, double right, double top, double bottom, double near, double far) Matrix4
makeRotationAxis(Vector3 axis, double angle) Matrix4
makeRotationFromEuler(Euler euler) Matrix4
makeRotationFromQuaternion(Quaternion q) Matrix4
makeRotationX(double theta) Matrix4
makeRotationY(double theta) Matrix4
makeRotationZ(double theta) Matrix4
makeScale(double x, double y, double z) Matrix4
makeShear(double xy, double xz, double yx, double yz, double zx, double zy) Matrix4
makeTranslation(double x, double y, double z) Matrix4
multiply(Matrix4 m) Matrix4
multiply2(Matrix4 a, Matrix4 b) Matrix4
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
premultiply(Matrix4 m) Matrix4
scale(double s) Matrix4
scaleByVector(Vector v) Matrix4
setFrom(Matrix4 m) Matrix4
setFromMatrix3(Matrix3 m) Matrix4
setPosition(double x, double y, double z) Matrix4
setPositionFromVector3(Vector3 x) Matrix4
setValues(double 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) Matrix4
toList() List<double>
toString() String
A string representation of this object.
inherited
transpose() Matrix4

Operators

operator ==(Object other) bool
The equality operator.
inherited