Table of Contents

Class UIRenderFeature.HitTestResult

Namespace
Stride.Rendering.UI
Assembly
Stride.UI.dll

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

depthBias float
element UIElement
intersection Vector3

Properties

DepthBias

public float DepthBias { get; }

Property Value

float

Element

Element that was hit.

public UIElement Element { get; }

Property Value

UIElement

IntersectionPoint

Point of intersection between the ray and the hit element.

public Vector3 IntersectionPoint { get; }

Property Value

Vector3