Click or drag to resize
Ab4d.SharpEngine logo

HitTestOptionsGetOnlyOneHitPerSceneNode Property

When true then only one hit result is get from one SceneNode. When false (by default), then multiple hit results can be created by one SceneNode. This property is used only by the GetAllHitObjects(Ray, SceneNode, HitTestOptions) method and not by GetClosestHitObject(Ray, SceneNode, HitTestOptions) method.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public bool GetOnlyOneHitPerSceneNode { get; set; }

Property Value

Boolean
Remarks

When true then only one hit result is get from one SceneNode.

When false (by default), then multiple hit results can be created by one SceneNode (for example one hit result when ray enters the object and one hit result when ray leaves the object).

This property is used only by the GetAllHitObjects(Ray, SceneNode, HitTestOptions) method and not by GetClosestHitObject(Ray, SceneNode, HitTestOptions) method.

See Also