Edit

Share via


ARSKView.GetAnchor(SKNode) Method

Definition

Returns the ARAnchor associated with the node. Returns null if there is not an associated ARAnchor

[Foundation.Export("anchorForNode:")]
public virtual ARKit.ARAnchor GetAnchor (SpriteKit.SKNode node);
abstract member GetAnchor : SpriteKit.SKNode -> ARKit.ARAnchor
override this.GetAnchor : SpriteKit.SKNode -> ARKit.ARAnchor

Parameters

node
SKNode

The node whose anchor to get.

Returns

Attributes

Applies to