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

Class to encapsulate an interpolating Quaternion property. TODO: Remove if redundant to InterpolatedQuaternion.cs More...

Public Member Functions

 QuaternionInterpolated ()
 
 QuaternionInterpolated (Quaternion initialValue)
 
void Reset (Quaternion value)
 Resets property to zero interpolation and set value. More...
 
void SetTarget (Quaternion targetValue)
 Set a target for property to interpolate to. More...
 
bool HasUpdate ()
 Returns whether there are further updates required to get the target value. More...
 
Quaternion GetUpdate (float deltaTime)
 Performs and fets the updated value. More...
 

Public Attributes

float DeltaSpeed = 360f
 Speed of change in magnitude. More...
 

Properties

Quaternion Value [get]
 Current value of the property. More...
 
Quaternion TargetValue [get]
 Target value of the property. More...
 
Quaternion StartValue [get]
 
float Duration [get]
 
float Counter [get]
 

Detailed Description

Class to encapsulate an interpolating Quaternion property. TODO: Remove if redundant to InterpolatedQuaternion.cs

Definition at line 14 of file QuaternionInterpolated.cs.

Constructor & Destructor Documentation

§ QuaternionInterpolated() [1/2]

HoloToolkit.Unity.QuaternionInterpolated.QuaternionInterpolated ( )

Definition at line 33 of file QuaternionInterpolated.cs.

§ QuaternionInterpolated() [2/2]

HoloToolkit.Unity.QuaternionInterpolated.QuaternionInterpolated ( Quaternion  initialValue)

Definition at line 38 of file QuaternionInterpolated.cs.

Member Function Documentation

§ GetUpdate()

Quaternion HoloToolkit.Unity.QuaternionInterpolated.GetUpdate ( float  deltaTime)

Performs and fets the updated value.

Parameters
deltaTimeTick delta.
Returns
Updated value.

Definition at line 82 of file QuaternionInterpolated.cs.

§ HasUpdate()

bool HoloToolkit.Unity.QuaternionInterpolated.HasUpdate ( )

Returns whether there are further updates required to get the target value.

Returns
True if updates are required. False otherwise.

Definition at line 72 of file QuaternionInterpolated.cs.

§ Reset()

void HoloToolkit.Unity.QuaternionInterpolated.Reset ( Quaternion  value)

Resets property to zero interpolation and set value.

Parameters
valueDesired value to reset

Definition at line 47 of file QuaternionInterpolated.cs.

§ SetTarget()

void HoloToolkit.Unity.QuaternionInterpolated.SetTarget ( Quaternion  targetValue)

Set a target for property to interpolate to.

Parameters
targetValueTargeted value.

Definition at line 60 of file QuaternionInterpolated.cs.

Member Data Documentation

§ DeltaSpeed

float HoloToolkit.Unity.QuaternionInterpolated.DeltaSpeed = 360f

Speed of change in magnitude.

Definition at line 19 of file QuaternionInterpolated.cs.

Property Documentation

§ Counter

float HoloToolkit.Unity.QuaternionInterpolated.Counter
get

Definition at line 31 of file QuaternionInterpolated.cs.

§ Duration

float HoloToolkit.Unity.QuaternionInterpolated.Duration
get

Definition at line 30 of file QuaternionInterpolated.cs.

§ StartValue

Quaternion HoloToolkit.Unity.QuaternionInterpolated.StartValue
get

Definition at line 29 of file QuaternionInterpolated.cs.

§ TargetValue

Quaternion HoloToolkit.Unity.QuaternionInterpolated.TargetValue
get

Target value of the property.

Definition at line 28 of file QuaternionInterpolated.cs.

§ Value

Quaternion HoloToolkit.Unity.QuaternionInterpolated.Value
get

Current value of the property.

Definition at line 24 of file QuaternionInterpolated.cs.


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