init(world:)
Creates an anchor entity with a target fixed at the given position in the scene.
Declaration
@MainActor @preconcurrency convenience init(world transform: float4x4)Parameters
- transform:
The transform with which to initialize the world target.