Method | Defined By | ||
---|---|---|---|
AwayGeomUtils | |||
convertMatrixToAwayMatrix(mat:Matrix3D, bMirror:Boolean = true):MatrixAway3D [static]
Convert a native flash Matrix3D to an Away3D matrix. | AwayGeomUtils | ||
dumpMatrix3D(m:MatrixAway3D, sd:int = 4):String [static]
Format Away3D matrix as a String. | AwayGeomUtils |
AwayGeomUtils | () | Constructor |
public function AwayGeomUtils()
convertMatrixToAwayMatrix | () | method |
public static function convertMatrixToAwayMatrix(mat:Matrix3D, bMirror:Boolean = true):MatrixAway3D
Convert a native flash Matrix3D to an Away3D matrix.
Parameters
mat:Matrix3D — Matrix3D to convert.
| |
bMirror:Boolean (default = true ) — If true , this method will flip the resultant matrix horizontally (around the y-axis).
|
MatrixAway3D — MatrixAway3D generated from the Matrix3D.
|
dumpMatrix3D | () | method |
public static function dumpMatrix3D(m:MatrixAway3D, sd:int = 4):String
Format Away3D matrix as a String.
Parameters
m:MatrixAway3D — MatrixAway3D to return as a String.
| |
sd:int (default = 4 ) — number of significant digits to display.
|
String |