Contents

scale(relativeTo:)

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

Declaration

@MainActor @preconcurrency func scale(relativeTo referenceEntity: Entity?) -> SIMD3<Float>

Parameters

  • referenceEntity:

    The entity that defines a frame of reference. Set this to nil to indicate world space.

See Also

Scaling an entity