UtilsGetTransformation(dvec3, dvec3, dvec3) 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(
dvec3 scale,
dvec3 rotation,
dvec3 offset
)
Parameters
- scale dvec3
- Scale.
- rotation dvec3
- Rotation.
- offset dvec3
- Offset.
Return Value
dmat4Matrix defined by scale, rotation and offset.
Remarks
The order of rotation is x,y,z. Scale and transformation are applied after rotation.
See Also