ARSCNViewDelegate_Extensions Class

Definition

Extension methods to the IARSCNViewDelegate interface to support all the methods from the ARSCNViewDelegate protocol.

public static class ARSCNViewDelegate_Extensions
type ARSCNViewDelegate_Extensions = class
Inheritance
ARSCNViewDelegate_Extensions

Remarks

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

Methods

DidAddNode(IARSCNViewDelegate, ISCNSceneRenderer, SCNNode, ARAnchor)

Developers may override this method to react to the adding of a SCNNode that corresponds to a new ARAnchor.

DidRemoveNode(IARSCNViewDelegate, ISCNSceneRenderer, SCNNode, ARAnchor)

Developers may override this method to react to the removal of node, which was removed after anchor was removed.

DidUpdateNode(IARSCNViewDelegate, ISCNSceneRenderer, SCNNode, ARAnchor)

This method is called shortly after node has been updated to reflect the current state of anchor.

GetNode(IARSCNViewDelegate, ISCNSceneRenderer, ARAnchor)

Retrieves the SCNNode corresponding to the specified anchor.

WillUpdateNode(IARSCNViewDelegate, ISCNSceneRenderer, SCNNode, ARAnchor)

This method is called shortly before the properties of node are updated to reflect the state of anchor.

Applies to