UtilsGetTransformation(Double, Double, Double, Double, Double, Double, Double, Double, Double) Method |
Returns matrix defined by scale, rotation and offset.
Namespace: RAYLASE.Marker.VectorGraphicElementAssembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntaxpublic static dmat4 GetTransformation(
double scaleX,
double scaleY,
double scaleZ,
double rotationX,
double rotationY,
double rotationZ,
double offsetX,
double offsetY,
double offsetZ
)
Parameters
- scaleX Double
- Scale along x-axis.
- scaleY Double
- Scale along y-axis.
- scaleZ Double
- Scale along z-axis.
- rotationX Double
- Rotation around x-axis.
- rotationY Double
- Rotation around y-axis.
- rotationZ Double
- Rotation around z-axis.
- offsetX Double
- X-offset.
- offsetY Double
- Y-offset.
- offsetZ Double
- Z-offset.
Return Value
dmat4Matrix defined by scale, rotation and offset.
Remarks
The order of rotation is around x-axis, then y-axis then z-axis. Scale and transformation are applied after rotation.
See Also