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

Class to encapsulate an interpolating Vector3 property. TODO: Remove if redundant to InterpolatedVector3.cs More...

Public Member Functions

 Vector3Interpolated ()
 
 Vector3Interpolated (Vector3 initialValue)
 
void Reset (Vector3 value)
 Resets property to zero interpolation and set value. More...
 
void SetTarget (Vector3 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...
 
Vector3 GetUpdate (float deltaTime)
 Performs and gets the updated value. More...
 

Public Attributes

float HalfLife = 0.08f
 Half-life used to control how fast values are interpolated. More...
 

Properties

Vector3 Value [get]
 Current value of the property. More...
 
Vector3 TargetValue [get]
 Target value of the property. More...
 

Detailed Description

Class to encapsulate an interpolating Vector3 property. TODO: Remove if redundant to InterpolatedVector3.cs

Definition at line 12 of file Vector3Interpolated.cs.

Constructor & Destructor Documentation

§ Vector3Interpolated() [1/2]

HoloToolkit.Unity.Vector3Interpolated.Vector3Interpolated ( )

Definition at line 28 of file Vector3Interpolated.cs.

§ Vector3Interpolated() [2/2]

HoloToolkit.Unity.Vector3Interpolated.Vector3Interpolated ( Vector3  initialValue)

Definition at line 33 of file Vector3Interpolated.cs.

Member Function Documentation

§ GetUpdate()

Vector3 HoloToolkit.Unity.Vector3Interpolated.GetUpdate ( float  deltaTime)

Performs and gets the updated value.

Parameters
deltaTimeTick delta.
Returns
Updated value.

Definition at line 71 of file Vector3Interpolated.cs.

§ HasUpdate()

bool HoloToolkit.Unity.Vector3Interpolated.HasUpdate ( )

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

Returns
True if updates are required. False otherwise.

Definition at line 61 of file Vector3Interpolated.cs.

§ Reset()

void HoloToolkit.Unity.Vector3Interpolated.Reset ( Vector3  value)

Resets property to zero interpolation and set value.

Parameters
valueDesired value to reset

Definition at line 42 of file Vector3Interpolated.cs.

§ SetTarget()

void HoloToolkit.Unity.Vector3Interpolated.SetTarget ( Vector3  targetValue)

Set a target for property to interpolate to.

Parameters
targetValueTargeted value.

Definition at line 52 of file Vector3Interpolated.cs.

Member Data Documentation

§ HalfLife

float HoloToolkit.Unity.Vector3Interpolated.HalfLife = 0.08f

Half-life used to control how fast values are interpolated.

Definition at line 17 of file Vector3Interpolated.cs.

Property Documentation

§ TargetValue

Vector3 HoloToolkit.Unity.Vector3Interpolated.TargetValue
get

Target value of the property.

Definition at line 26 of file Vector3Interpolated.cs.

§ Value

Vector3 HoloToolkit.Unity.Vector3Interpolated.Value
get

Current value of the property.

Definition at line 22 of file Vector3Interpolated.cs.


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