ARSKViewDelegate.GetNode(ARSKView, ARAnchor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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