Meta SDK2 Beta  2.7.0
Meta.IPanelClickEventHandler Interface Reference

Allows panel events to be called on a MetaPanel object. More...

Public Member Functions

void OnPanelPointerDown (int id, Vector3 pos)
 Called on touching a panel surface. More...
 
void OnPanelPointerUp (int id, Vector3 pos)
 Called on exiting a panel surface. More...
 

Detailed Description

Allows panel events to be called on a MetaPanel object.

Member Function Documentation

◆ OnPanelPointerDown()

void Meta.IPanelClickEventHandler.OnPanelPointerDown ( int  id,
Vector3  pos 
)

Called on touching a panel surface.

Parameters
idThe id of the cursor which touched the panel.
posThe world position where the cursor touched the panel.

◆ OnPanelPointerUp()

void Meta.IPanelClickEventHandler.OnPanelPointerUp ( int  id,
Vector3  pos 
)

Called on exiting a panel surface.

Parameters
idThe id of the cursor which exited the panel.
posThe world position where the cursor exited the panel.