API reference

getAbsoluteScaledTransform Function

DeprecatedPose-only scale mode is deprecated and will be removed. In the active scale mode, use getAbsoluteTransform and getAbsoluteScale; they return the same result only when applyScale matches the active mode.
getAbsoluteScaledTransform in an explicit scale mode, which need not be the active one.
There is no automatic replacement: getAbsoluteTransform and getAbsoluteScale compute in the active scale mode, so they match this overload only when applyScale is that mode. Pass the active mode, or drop the overload once the app runs in hierarchy scale.

Signature

fun getAbsoluteScaledTransform(entity: Entity, applyScale: Boolean): Pair<Pose, Vector3>

Parameters

entity: Entity
applyScale: Boolean

Returns

Pair<Pose, Vector3>