Mat
Category: Utility
Base class: _BlipValue
Properties
coefficient : List[float] (Read-Only)
Get item by index or slice
m00 : float
The (0, 0) component of the matrix
UserName: M00
m01 : float
The (0, 1) component of the matrix
UserName: M01
m02 : float
The (0, 2) component of the matrix
UserName: M02
m03 : float
The (0, 3) component of the matrix
UserName: M03
m10 : float
The (1, 0) component of the matrix
UserName: M10
m11 : float
The (1, 1) component of the matrix
UserName: M11
m12 : float
The (1, 2) component of the matrix
UserName: M12
m13 : float
The (1, 3) component of the matrix
UserName: M13
m20 : float
The (2, 0) component of the matrix
UserName: M20
m21 : float
The (2, 1) component of the matrix
UserName: M21
m22 : float
The (2, 2) component of the matrix
UserName: M22
m23 : float
The (2, 3) component of the matrix
UserName: M23
m30 : float
The (3, 0) component of the matrix
UserName: M30
m31 : float
The (3, 1) component of the matrix
UserName: M31
m32 : float
The (3, 2) component of the matrix
UserName: M32
m33 : float
The (3, 3) component of the matrix
UserName: M33
Constructors
__init__(self)
__init__(self, other: Mat)
Copy constructor for Mat
__init__(self, origin: Vec, eulerAngles: Vec)
__init__(self, origin: Vec, xAxis: Vec, yAxis: Vec, zAxis: Vec)
Methods
compose(self, m: Mat) -> Mat
getRotation(self) -> Vec
getScale(self) -> Vec
getTranslation(self) -> Vec
inverse(self) -> Mat
perspectiveTransform(self, v: Vec) -> Vec
setAxes(self, xAxis: Vec, yAxis: Vec, zAxis: Vec) -> Mat
setRotation(self, eulerAngles: Vec) -> Mat
setScale(self, scale: Vec) -> Mat
setTranslation(self, v: Vec) -> Mat
transform(self, v: Vec) -> Vec
transformRect(self, r: Rect) -> Rect
transpose(self) -> Mat
Special Methods
__eq__(self, m: Mat) -> bool
__ne__(self, mat: Mat) -> bool
__repr__(self) -> Any
String representation of the Mat