Interface IHitable
- Namespace
- HelixToolkit.SharpDX
- Assembly
- HelixToolkit.SharpDX.dll
public interface IHitable
Properties
AlwaysHittable
Gets or sets a value indicating whether [always hittable]. Set to true if you want object to be hit tested even it is not rendering.
bool AlwaysHittable { get; set; }
Property Value
- bool
trueif [always hittable]; otherwise,false.
IsHitTestVisible
Indicates, if this element should be hit-tested.
default is true
bool IsHitTestVisible { get; set; }
Property Value
Methods
HitTest(HitTestContext, ref List<HitTestResult>)
bool HitTest(HitTestContext hitContext, ref List<HitTestResult> hits)
Parameters
hitContextHitTestContextContains all the hit test variables.
hitsList<HitTestResult>
Returns
- bool
Return all hitted details with distance from nearest to farest.