Modifier

Partager via


SCNHitTestOptions.RootNode Property

Definition

Limits the hit-testing to this node as well as its children (you must also set IgnoreChildNodes).

public SceneKit.SCNNode RootNode { get; set; }
member this.RootNode : SceneKit.SCNNode with get, set

Property Value

The node that will be used as the root node to search for hits.

If not specified, when used with a SCNSceneRenderer the default value would be the presented scene's root node.

If not specified, when used with a SCNNode the default value is the node itself.

Remarks

Applies to