Heart class. Allows for heart rate queries and heart rate injection from devices.
More...
Inherits MonoBehaviour.
|
static void | InjectRate (float heartRate) |
| Injects a heart rate. More...
|
|
static void | InjectFireAntRate (float rate) |
|
static void | InjectPolarRate (float rate) |
|
|
static float | Rate [get] |
| Gets the current heart rate. More...
|
|
static float | FireAntHR [get] |
|
static float | PolarHR [get] |
|
static HeartTier | Tier [get] |
| Gets the current heart tier. More...
|
|
static float | TierTime [get] |
| Gets the amount of time the heart has spent in the current tier. More...
|
|
static float | NormalizedRate [get] |
| Gets the current heart rate divded by the target heart rate. More...
|
|
|
static HeartTierChangedHandler | TierChanged |
| Event fired when the heart rate tier changes. More...
|
|
Heart class. Allows for heart rate queries and heart rate injection from devices.
Definition at line 20 of file Heart.cs.
static void Heart.InjectRate |
( |
float |
heartRate | ) |
|
|
inlinestatic |
Injects a heart rate.
Call this from a device script.
Definition at line 85 of file Heart.cs.
float Heart.NormalizedRate |
|
staticget |
Gets the current heart rate divded by the target heart rate.
Definition at line 65 of file Heart.cs.
Gets the current heart rate.
Definition at line 31 of file Heart.cs.
Gets the current heart tier.
Definition at line 49 of file Heart.cs.
Gets the amount of time the heart has spent in the current tier.
Definition at line 57 of file Heart.cs.
HeartTierChangedHandler Heart.TierChanged |
|
static |
Event fired when the heart rate tier changes.
Definition at line 25 of file Heart.cs.
The documentation for this class was generated from the following file:
- C:/Users/Dan/Documents/Doomsday/Liberi/Assets/Scripts/Core/Heart.cs