Dial Class |
Namespace: ImmerseSDK.Interaction
public class Dial : HingeEngageableObject
The Dial type exposes the following members.
Name | Description | |
---|---|---|
AmountRotated |
Amount of rotation in the range [0..1]
Use Limits on the HingeJoint to limit movement if so required.
This class will use those limits to calculate [0..1] range.
If no limits, then it will use full rotation.
|
Name | Description | |
---|---|---|
AngleBetween |
Get the angle between a and b in degrees
https://github.com/lordofduct/spacepuppy-unity-framework/blob/master/SpacepuppyBase/Utils/VectorUtil.cs
| |
AngleOffAroundAxis |
Find some projected angle measure off some forward around some axis.
| |
Awake | (Overrides HingeEngageableObjectAwake.) | |
FixedUpdate |
Unity Component Method
(Overrides EngageableObjectFixedUpdate.) | |
Start | ||
Update |
Unity Component Method
(Overrides EngageableObjectUpdate.) |
Name | Description | |
---|---|---|
OnValueChanged |
Fired when this Dial's value changes. Value is (0..1)
|
Name | Description | |
---|---|---|
_invertValue |
Invert the value (becomes 1- value)
| |
_isLargeDial |
This affects how the dial is interacted with. Smaller dials use only wrist action, whereas larger dials uses
"dragging" of the controller like a wheel
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |