Meta SDK2 Beta  2.7.0
Meta.UI.CanvasCursor Class Reference

Visual cursor for a Unity canvas More...

Inheritance diagram for Meta.UI.CanvasCursor:

Public Member Functions

void HoverBegin (PointerEventData pointerEventData)
 Handle when the hand hovers over a UI element More...
 
void HoverStay (PointerEventData pointerEventData)
 Handle when the hand continues hovering over a UI element More...
 
void HoverEnd (PointerEventData pointerEventData)
 Handle when the hand stops hovering over a UI element More...
 
void Show ()
 Show the cursor More...
 
void Hide ()
 Hide the cursor More...
 
void UpdateCursor (MetaHandEventData eventData, PressState pressState)
 Update the cursor's position and visual state More...
 

Detailed Description

Visual cursor for a Unity canvas

Member Function Documentation

◆ Hide()

void Meta.UI.CanvasCursor.Hide ( )
inline

Hide the cursor

◆ HoverBegin()

void Meta.UI.CanvasCursor.HoverBegin ( PointerEventData  pointerEventData)
inline

Handle when the hand hovers over a UI element

Parameters
pointerEventData

◆ HoverEnd()

void Meta.UI.CanvasCursor.HoverEnd ( PointerEventData  pointerEventData)
inline

Handle when the hand stops hovering over a UI element

Parameters
pointerEventData

◆ HoverStay()

void Meta.UI.CanvasCursor.HoverStay ( PointerEventData  pointerEventData)
inline

Handle when the hand continues hovering over a UI element

Parameters
pointerEventData

◆ Show()

void Meta.UI.CanvasCursor.Show ( )
inline

Show the cursor

◆ UpdateCursor()

void Meta.UI.CanvasCursor.UpdateCursor ( MetaHandEventData  eventData,
PressState  pressState 
)
inline

Update the cursor's position and visual state

Parameters
eventData
pressState