You.i Engine
CYICursorInputBridge Class Reference

Detailed Description

Utility to subscribe to or get the current state of the cursor for the platform, if available.

The bridge requires setting the cursor state to be set when the plaform changes cursor state.

#include <platform/YiCursorInputBridge.h>

Public Types

enum  CursorState {
  CursorState::Off = 0,

Public Member Functions

 CYICursorInputBridge ()
void SetCursorState (CursorState state)
CursorState GetCursorState ()

Public Attributes

CYISignal< CursorStateCursorStateChanged

Member Enumeration Documentation

◆ CursorState


Constructor & Destructor Documentation

◆ CYICursorInputBridge()

CYICursorInputBridge::CYICursorInputBridge ( )

Member Function Documentation

◆ GetCursorState()

CursorState CYICursorInputBridge::GetCursorState ( )

◆ SetCursorState()

void CYICursorInputBridge::SetCursorState ( CursorState  state)

Member Data Documentation

◆ CursorStateChanged

CYISignal<CursorState> CYICursorInputBridge::CursorStateChanged

The documentation for this class was generated from the following file: