SUIRaycastResult
Index
Functions Index
Properties Index
float Distance get
float Index get
int Depth get
int SortingLayer get
int SortingOrder get
SVector WorldPosition get
SVector WorldNormal get
SVector ScreenPosition get
SGameObject GameObject get
bool IsValid get
Functions
Clear
void Clear ()
Reset all the parameters of this RaycastResult
ToString
string ToString ()
Converts all the properties of this UIRaycastResult into a string
Properties
Distance
float Distance get
Returns the distance of the Raycast result
Index
float Index get
Returns the Index of the Raycast result
Depth
int Depth get
Returns the Depth of the Raycast result
SortingLayer
int SortingLayer get
Returns the Sorting Layer of the Raycast result
SortingOrder
int SortingOrder get
Returns the Sorting Order of the Raycast result
WorldPosition
SVector WorldPosition get
Returns the World Position vector of the Raycast result
WorldNormal
SVector WorldNormal get
Returns the World Normal vector of the Raycast result
ScreenPosition
SVector ScreenPosition get
Returns the Screen Position vector of the Raycast result
GameObject
SGameObject GameObject get
Returns a reference to the GameObject of the Raycast result
IsValid
bool IsValid get
Returns whether the Raycast hit a valid UI Raycast target. This will be true if the Raycast hits an element on Sinespace's UI
Last updated
Was this helpful?

