ARSKViewDelegate.GetNode(ARSKView, ARAnchor) Méthode

Définition

Récupère le SKNode correspondant au spécifié anchor. Si aucun nœud correspondant n’existe, retourne 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

Paramètres

view
ARSKView

Vue qui rend la scène.

anchor
ARAnchor

Ancre que le nœud doit obtenir.

Retours

Attributs

S’applique à