AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
HoloToolkit.Unity.Timer Struct Reference

Structure that defines a timer. A timer can be scheduled through the TimerScheduler. More...

Public Member Functions

 Timer (int id)
 
void Stop ()
 

Static Public Member Functions

static Timer Start (float timeSeconds, TimerScheduler.Callback callback, bool loop=false)
 
static Timer StartNextFrame (TimerScheduler.Callback callback)
 

Public Attributes

int Id
 

Static Public Attributes

static Timer Invalid = new Timer(0)
 

Properties

bool IsActive [get]
 

Detailed Description

Structure that defines a timer. A timer can be scheduled through the TimerScheduler.

Definition at line 9 of file Timer.cs.

Constructor & Destructor Documentation

§ Timer()

HoloToolkit.Unity.Timer.Timer ( int  id)

Definition at line 15 of file Timer.cs.

Member Function Documentation

§ Start()

static Timer HoloToolkit.Unity.Timer.Start ( float  timeSeconds,
TimerScheduler.Callback  callback,
bool  loop = false 
)
static

Definition at line 28 of file Timer.cs.

§ StartNextFrame()

static Timer HoloToolkit.Unity.Timer.StartNextFrame ( TimerScheduler.Callback  callback)
static

Definition at line 38 of file Timer.cs.

§ Stop()

void HoloToolkit.Unity.Timer.Stop ( )

Definition at line 48 of file Timer.cs.

Member Data Documentation

§ Id

int HoloToolkit.Unity.Timer.Id

Definition at line 11 of file Timer.cs.

§ Invalid

Timer HoloToolkit.Unity.Timer.Invalid = new Timer(0)
static

Definition at line 13 of file Timer.cs.

Property Documentation

§ IsActive

bool HoloToolkit.Unity.Timer.IsActive
get

Definition at line 21 of file Timer.cs.


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