C# Класс control.GestureManager

Manage a collection of gesture and perodically evaluate them.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
paused bool
running bool

Открытые методы

Метод Описание
AddGesture ( Gesture g ) : void

to add a new gesture to the list.

GestureManager ( int pointingHand ) : System

Constructor of the GestuerManager Class

Run ( ) : void

the function that will be runing in the sperated thread.

start ( ) : void

to start the evaluation thread.

updateState ( ) : void

update(evaluate) the state of all gesture.

Описание методов

AddGesture() публичный Метод

to add a new gesture to the list.
public AddGesture ( Gesture g ) : void
g Gesture the gesture to be added
Результат void

GestureManager() публичный Метод

Constructor of the GestuerManager Class
public GestureManager ( int pointingHand ) : System
pointingHand int A spsecific hand to will be used for pointing(aiming)
Результат System

Run() публичный Метод

the function that will be runing in the sperated thread.
public Run ( ) : void
Результат void

start() публичный Метод

to start the evaluation thread.
public start ( ) : void
Результат void

updateState() публичный Метод

update(evaluate) the state of all gesture.
public updateState ( ) : void
Результат void

Описание свойств

paused публичное статическое свойство

true while the game is paused.
public static bool paused
Результат bool

running публичное статическое свойство

true while the game is running.
public static bool running
Результат bool