Instance Property

scale

The scale of the entity relative to its parent.

Declaration

var scale: SIMD3<Float> { get set }

Discussion

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

See Also

Scaling an Entity

func scale(relativeTo: Entity?) -> SIMD3<Float>

Gets the scale of an entity relative to the given entity.

func setScale(SIMD3<Float>, relativeTo: Entity?)

Sets the scale factor of the entity relative to the given reference entity.