Edytuj

Udostępnij za pośrednictwem


ARSKViewDelegate_Extensions.GetNode Method

Definition

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

public static SpriteKit.SKNode GetNode (this ARKit.IARSKViewDelegate This, ARKit.ARSKView view, ARKit.ARAnchor anchor);
static member GetNode : ARKit.IARSKViewDelegate * ARKit.ARSKView * ARKit.ARAnchor -> SpriteKit.SKNode

Parameters

This
IARSKViewDelegate

The instance on which this extension method operates.

view
ARSKView

The view that is rendering the scene.

anchor
ARAnchor

The anchor for the node to get.

Returns

Applies to