Matrix3f
Link to matrix3f
Importare la Classe
Link to importare-la-classe
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.util.math.Matrix3f;
Metodi
Link to metodi
Name: add
Return Type: void
ZenScript CopyMatrix3f.add(other as Matrix3f) as void
Parametro | Tipo | Descrizione |
---|---|---|
Parametro other | Tipo Matrix3f | Descrizione No Description Provided |
Name: adjugateAndDet
Return Type: float
ZenScript Copy// Matrix3f.adjugateAndDet() as float
myMatrix3f.adjugateAndDet();
Name: determinant
Return Type: float
ZenScript Copy// Matrix3f.determinant() as float
myMatrix3f.determinant();
Name: invert
Return Type: boolean
ZenScript Copy// Matrix3f.invert() as boolean
myMatrix3f.invert();
Name: load
Return Type: void
ZenScript CopyMatrix3f.load(other as Matrix3f) as void
Parametro | Tipo | Descrizione |
---|---|---|
Parametro other | Tipo Matrix3f | Descrizione No Description Provided |
Name: mul
Return Type: void
ZenScript CopyMatrix3f.mul(other as Matrix3f) as void
Parametro | Tipo | Descrizione |
---|---|---|
Parametro other | Tipo Matrix3f | Descrizione No Description Provided |
Name: mul
Return Type: void
ZenScript CopyMatrix3f.mul(quaternion as Quaternion) as void
Parametro | Tipo | Descrizione |
---|---|---|
Parametro quaternion | Tipo Quaternion | Descrizione No Description Provided |
Name: mul
Return Type: void
ZenScript CopyMatrix3f.mul(scalar as float) as void
Parametro | Tipo | Descrizione |
---|---|---|
Parametro scalar | Tipo float | Descrizione No Description Provided |
Name: setIdentity
Return Type: void
ZenScript Copy// Matrix3f.setIdentity() as void
myMatrix3f.setIdentity();
Name: setValue
Return Type: void
ZenScript CopyMatrix3f.setValue(row as int, col as int, value as float) as void
Parametro | Tipo | Descrizione |
---|---|---|
Parametro row | Tipo int | Descrizione No Description Provided |
Parametro col | Tipo int | Descrizione No Description Provided |
Parametro valore | Tipo float | Descrizione No Description Provided |
Name: sub
Return Type: void
ZenScript CopyMatrix3f.sub(other as Matrix3f) as void
Parametro | Tipo | Descrizione |
---|---|---|
Parametro other | Tipo Matrix3f | Descrizione No Description Provided |
Name: trace
Return Type: float
ZenScript Copy// Matrix3f.trace() as float
myMatrix3f.trace();
Name: transpose
Return Type: void
ZenScript Copy// Matrix3f.transpose() as void
myMatrix3f.transpose();