Class UIRenderFeature.HitTestResult
Represents the result of a hit test on the UI.
public class UIRenderFeature.HitTestResult
- Inheritance
-
UIRenderFeature.HitTestResult
Constructors
HitTestResult(float, UIElement, Vector3)
public HitTestResult(float depthBias, UIElement element, Vector3 intersection)
Parameters
Properties
DepthBias
public float DepthBias { get; }
Property Value
Element
Element that was hit.
public UIElement Element { get; }
Property Value
IntersectionPoint
Point of intersection between the ray and the hit element.
public Vector3 IntersectionPoint { get; }