ARSKViewDelegate.GetNode(ARSKView, ARAnchor) Method

Definition

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

[Foundation.Export("view:nodeForAnchor:")]
public virtual SpriteKit.SKNode GetNode (ARKit.ARSKView view, ARKit.ARAnchor anchor);
abstract member GetNode : ARKit.ARSKView * ARKit.ARAnchor -> SpriteKit.SKNode
override this.GetNode : 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