Logo
Public Member Functions | Properties | List of all members
Yukar.Engine.LayoutDrawerFocusTracker Class Reference

Class to manage layout drawer focus tracking More...

Public Member Functions

void Update ()
 Updates focus tracker state. More...
 
int GetTouchId ()
 Get touch ID. More...
 
bool IsFocus (int id)
 Determines whether the specified ID is focused. More...
 

Properties

bool IsTouchTrigger [get]
 Gets whether a touch trigger has occurred. More...
 

Detailed Description

Class to manage layout drawer focus tracking

Member Function Documentation

◆ GetTouchId()

int Yukar.Engine.LayoutDrawerFocusTracker.GetTouchId ( )

Get touch ID.

Returns
Touch ID (-1 if no touch trigger has occurred)

◆ IsFocus()

bool Yukar.Engine.LayoutDrawerFocusTracker.IsFocus ( int  id)

Determines whether the specified ID is focused.

Parameters
idID to judge
Returns
true focused false not focused

◆ Update()

void Yukar.Engine.LayoutDrawerFocusTracker.Update ( )

Updates focus tracker state.

Property Documentation

◆ IsTouchTrigger

bool Yukar.Engine.LayoutDrawerFocusTracker.IsTouchTrigger
get

Gets whether a touch trigger has occurred.