Contents

Entity.CoordinateSpaceReference.scene

A reference to an entity’s parent window scene.

Declaration

case scene

Discussion

You can use this enum case to get an entity’s relative transform in its parented window scene:

let transformInWindowSpace = windowEntity.transformMatrix(relativeTo: .scene)