IARSKViewDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface representing the required methods (if any) of the protocol ARSKViewDelegate.
[Foundation.Protocol(Name="ARSKViewDelegate", WrapperType=typeof(ARKit.ARSKViewDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IARSKViewDelegate : ARKit.IARSessionObserver, IDisposable, SpriteKit.ISKViewDelegate
type IARSKViewDelegate = interface
interface INativeObject
interface IDisposable
interface IARSessionObserver
interface ISKViewDelegate
- Derived
- Attributes
- Implements
Remarks
This interface contains the required methods (if any) from the protocol defined by ARSKViewDelegate.
If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the ARSKViewDelegate protocol.
Optional methods (if any) are provided by the ARSKViewDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.
Properties
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Extension Methods
CameraDidChangeTrackingState(IARSessionObserver, ARSession, ARCamera) |
Called when the TrackingState changes, indicating a change in tracking quality. |
DidFail(IARSessionObserver, ARSession, NSError) |
Called when the |
DidOutputAudioSampleBuffer(IARSessionObserver, ARSession, CMSampleBuffer) |
Developers may implement this method that is called shortly after an audio buffer has been played. |
InterruptionEnded(IARSessionObserver, ARSession) |
Developers may override this method to begin frame processing and device tracking after an interruption. |
ShouldAttemptRelocalization(IARSessionObserver, ARSession) |
Returns a Boolean value that tells whether the session should attempt to reorient after an interruption. |
WasInterrupted(IARSessionObserver, ARSession) |
Developers may override this method to stop frame processing and device tracking when an interruption occurs. |
DidAddNode(IARSKViewDelegate, ARSKView, SKNode, ARAnchor) |
Developers may override this method to react to the adding of a SKNode that corresponds to a new ARAnchor. |
DidRemoveNode(IARSKViewDelegate, ARSKView, SKNode, ARAnchor) |
Developers may override this method to react to the removal of |
DidUpdateNode(IARSKViewDelegate, ARSKView, SKNode, ARAnchor) |
This method is called shortly after |
GetNode(IARSKViewDelegate, ARSKView, ARAnchor) |
Retrieves the SKNode corresponding to the specified |
WillUpdateNode(IARSKViewDelegate, ARSKView, SKNode, ARAnchor) |
This method is called shortly before the properties of |
ShouldRender(ISKViewDelegate, SKView, Double) |