TrackerType

    XRServer.swift:37
    enum TrackerType

    Cases

    • case head

      The tracker tracks the location of the players head. This is usually a location centered between the players eyes. Note that for handheld AR devices this can be the current location of the device.

    • case controller

      The tracker tracks the location of a controller.

    • case basestation

      The tracker tracks the location of a base station.

    • case anchor

      The tracker tracks the location and size of an AR anchor.

    • case hand

      The tracker tracks the location and joints of a hand.

    • case body

      The tracker tracks the location and joints of a body.

    • case face

      The tracker tracks the expressions of a face.

    • case anyKnown

      Used internally to filter trackers of any known type.

    • case unknown

      Used internally if we haven’t set the tracker type yet.

    • case any

      Used internally to select all trackers.

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (31) members.

    Types

    Type members

    Instance members

    • var interfaceAdded: Signal1

      Emitted when a new interface has been added.

    • var interfaceRemoved: Signal2

      Emitted when an interface is removed.

    • var referenceFrameChanged: SimpleSignal

      Emitted when the reference frame transform changes.

    • var trackerAdded: Signal3

      Emitted when a new tracker has been added. If you don’t use a fixed number of controllers or if you’re using XRAnchor3Ds for an AR solution, it is important to react to this signal to add the appropriate XRController3D or XRAnchor3D nodes related to this new tracker.

    • var trackerRemoved: Signal5

      Emitted when a tracker is removed. You should remove any XRController3D or XRAnchor3D points if applicable. This is not mandatory, the nodes simply become inactive and will be made active again when a new tracker becomes available (i.e. a new controller is switched on that takes the place of the previous one).

    • var trackerUpdated: Signal4

      Emitted when an existing tracker has been updated. This can happen if the user switches controllers.

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features