Scripting API

RaycastResult

struct in UnityEngine.EventSystems · UnityEngine.UI

16 of 19 of Unity's members
In Tassix

One hit of a raycast against the UI or the scene.

Fields 12

int depth
int displayIndex
float distance
float index
Vector2 screenPosition
int sortingGroupID
int sortingGroupOrder
int sortingLayer
int sortingOrder
Vector3 worldNormal
Vector3 worldPosition

Properties 2

GameObject? gameObject { get; set; }
bool isValid { get; }

Methods 2

void Clear()
string ToString()

Not in Tassix yet 3

document element origin