Click or drag to resize

UtilsGetTransformation(dvec3, dvec3, dvec3) Method

Returns matrix defined by scale, rotation and offset.

Namespace: RAYLASE.Marker.VectorGraphicElement
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public static dmat4 GetTransformation(
	dvec3 scale,
	dvec3 rotation,
	dvec3 offset
)

Parameters

scale  dvec3
Scale.
rotation  dvec3
Rotation.
offset  dvec3
Offset.

Return Value

dmat4
Matrix defined by scale, rotation and offset.
Remarks
The order of rotation is x,y,z. Scale and transformation are applied after rotation.
See Also