Signal1

    Signal support.

    XRServer.swift:659
    class Signal1

    Use the connect(flags:_:) method to connect to the signal on the container object, and disconnect(_:) to drop the connection.

    You can also await the emitted property for waiting for a single emission of the signal.

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (29) 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 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

    Instance members