Contents

init(world:)

Creates an anchor entity with a target fixed at the given position in the scene.

Declaration

@MainActor @preconcurrency convenience init(world position: SIMD3<Float>)

Parameters

  • position:

    The position with which to initialize the world target.