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

Main components for controlling the quality of the system to maintain a steady frame rate. Calculates a QualityLevel based on the reported frame rate and the refresh rate of the device inside the provided thresholds. A QualityChangedEvent is triggered whenever the quality level changes. Uses the GpuTimingCamera component to measure GPU time of the frame, if the Camera doesn't already have this component, it is automatically added. More...

Inheritance diagram for HoloToolkit.Unity.AdaptiveQuality:

Public Member Functions

delegate void QualityChangedEvent (int newQuality, int previousQuality)
 

Public Attributes

const string TimingTag = "Frame"
 

Protected Member Functions

void Update ()
 

Properties

int QualityLevel [get]
 
int RefreshRate [get]
 

Events

QualityChangedEvent QualityChanged
 

Detailed Description

Main components for controlling the quality of the system to maintain a steady frame rate. Calculates a QualityLevel based on the reported frame rate and the refresh rate of the device inside the provided thresholds. A QualityChangedEvent is triggered whenever the quality level changes. Uses the GpuTimingCamera component to measure GPU time of the frame, if the Camera doesn't already have this component, it is automatically added.

Definition at line 15 of file AdaptiveQuality.cs.

Member Function Documentation

§ QualityChangedEvent()

delegate void HoloToolkit.Unity.AdaptiveQuality.QualityChangedEvent ( int  newQuality,
int  previousQuality 
)

§ Update()

void HoloToolkit.Unity.AdaptiveQuality.Update ( )
protected

Definition at line 89 of file AdaptiveQuality.cs.

Member Data Documentation

§ TimingTag

const string HoloToolkit.Unity.AdaptiveQuality.TimingTag = "Frame"

Definition at line 52 of file AdaptiveQuality.cs.

Property Documentation

§ QualityLevel

int HoloToolkit.Unity.AdaptiveQuality.QualityLevel
get

Definition at line 35 of file AdaptiveQuality.cs.

§ RefreshRate

int HoloToolkit.Unity.AdaptiveQuality.RefreshRate
get

Definition at line 36 of file AdaptiveQuality.cs.

Event Documentation

§ QualityChanged

QualityChangedEvent HoloToolkit.Unity.AdaptiveQuality.QualityChanged

Definition at line 33 of file AdaptiveQuality.cs.


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