API reference

getAbsoluteScale Function

The scale entity renders at, in the active scale mode: its Scale composed with every ancestor's when TickTransformSystem.applyScale is on, and its own Scale when it is off.
Per-axis scales compose component-wise. That is exact when the scales involved are uniform, or when no rotation sits between a non-uniformly scaled ancestor and entity; otherwise the rendered shape is sheared and no single per-axis scale describes it.

Signature

fun getAbsoluteScale(entity: Entity): Vector3

Parameters

entity: Entity The target entity.

Returns