편집

다음을 통해 공유


SCNHitTestOptions.BoundingBoxOnly Property

Definition

Control whether hit-testing uses the node's geometry, or if a bounding-box is used to optmize the hit-testing process speed.

public Nullable<bool> BoundingBoxOnly { get; set; }
member this.BoundingBoxOnly : Nullable<bool> with get, set

Property Value

If this value is not specified, the value assumed is false.

Remarks

By default, the hit-testing will use the node's geometry information to determine whether there was a hit. This process can be slow, so you can set this property to true to constraint the search space to the bounxing box of the target.

Applies to