Type Alias: TransformationProps
TransformationProps:
object
Transformations are applied in the order of scale -> rotate -> translate.
Type declaration
multiplyWithCurrentTransform?
optional
multiplyWithCurrentTransform:boolean
If true, the current transformation of the entity will be multiplied with the new transformation.
Default
true
rotate?
Rotation for each axis in radians.
scale?
Scale for each axis. Unit is in meters.
transformToUnitCube?
optional
transformToUnitCube:boolean
Transforms the given entity to fit into a unit cube (1,1,1) at the origin (0,0,0).
translate?
Position in meters. Unit is in meters.
Default
[0, 0, 0]