Contents

scale

The scale of the entity relative to its parent.

Declaration

@MainActor @preconcurrency var scale: SIMD3<Float> { get set }

Mentioned in

Discussion

This value is the entity’s scale relative to its parent. To get the actual scale of the entity in the scene, use scale(relativeTo:), passing nil as the reference entity.

This is the same as the scale value on the transform.

See Also

Scaling an entity