Share via


ARSKViewDelegate_Extensions.GetNode Method

Definition

Retrieves the SKNode corresponding to the specified anchor. If no corresponding node exists, returns null.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKNode? GetNode(this ARKit.IARSKViewDelegate This, ARKit.ARSKView view, ARKit.ARAnchor anchor);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetNode : ARKit.IARSKViewDelegate * ARKit.ARSKView * ARKit.ARAnchor -> SpriteKit.SKNode

Parameters

view
ARSKView

The view that is rendering the scene.

anchor
ARAnchor

The anchor for the node to get.

Returns

Attributes

Applies to