ARSessionDelegate_Extensions Class

Definition

Extension methods to the IARSessionDelegate interface to support all the methods from the ARSessionDelegate protocol.

public static class ARSessionDelegate_Extensions
type ARSessionDelegate_Extensions = class
Inheritance
ARSessionDelegate_Extensions

Remarks

The extension methods for IARSessionDelegate allow developers to treat instances of the interface as having all the optional methods of the original ARSessionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

DidAddAnchors(IARSessionDelegate, ARSession, ARAnchor[])

Called when anchors are added to the session.

DidRemoveAnchors(IARSessionDelegate, ARSession, ARAnchor[])

Called when anchors have been removed from the session.

DidUpdateAnchors(IARSessionDelegate, ARSession, ARAnchor[])

Indicates that anchors have been updated due to tracking.

DidUpdateFrame(IARSessionDelegate, ARSession, ARFrame)

Indicates that frame has been updated due to tracking.

Applies to