Contents

init(_:trackingMode:physicsSimulation:)

Creates an anchoring component for a given target, tracking mode and physics simulation.

Declaration

init(_ target: AnchoringComponent.Target, trackingMode: AnchoringComponent.TrackingMode, physicsSimulation: AnchoringComponent.PhysicsSimulation = .isolated)

Parameters

  • target:

    The kind of real world object to target.

  • trackingMode:

    The tracking mode of the entity.

  • physicsSimulation:

    The physics simulation space the entity will be in.

See Also

Creating an anchoring component