A single indicator which is associated with a single waypoint somewhere in 3D space.
More...
|
| PeripheralIndicator | Init (AbstractWaypoint waypoint, float pingInterval) |
| | Initializes the indicator.
|
| |
| void | Disable () |
| | Disables the indicator, hiding its images and text.
|
| |
| void | SetPeriphery (float direction, float magnitude, float magnitudeThreshold) |
| | Sets the position and size of the indicator based on the direction and magnitude of the waypoint.
|
| |
| void | SetDirectView (Vector3 worldPosition, float magnitude) |
| | Sets the position and size of the indicator based on the world position and magnitude.
|
| |
A single indicator which is associated with a single waypoint somewhere in 3D space.
◆ Disable()
| void FMAR.UI.Indicator.PeripheralIndicator.Disable |
( |
| ) |
|
|
inline |
Disables the indicator, hiding its images and text.
◆ Init()
Initializes the indicator.
- Parameters
-
| waypoint | The waypoint associated with the indicator. |
| pingInterval | The interval at which to ping the indicator. |
- Returns
- The initialized indicator.
◆ SetDirectView()
| void FMAR.UI.Indicator.PeripheralIndicator.SetDirectView |
( |
Vector3 | worldPosition, |
|
|
float | magnitude ) |
|
inline |
Sets the position and size of the indicator based on the world position and magnitude.
- Parameters
-
| worldPosition | The world position of the indicator. |
| magnitude | The magnitude of the waypoint. |
◆ SetPeriphery()
| void FMAR.UI.Indicator.PeripheralIndicator.SetPeriphery |
( |
float | direction, |
|
|
float | magnitude, |
|
|
float | magnitudeThreshold ) |
|
inline |
Sets the position and size of the indicator based on the direction and magnitude of the waypoint.
- Parameters
-
| direction | The direction to point the indicator in. |
| magnitude | The magnitude of the waypoint. |
| magnitudeThreshold | The threshold at which to start fading the indicator. |
◆ flashAnimOpacity
| float FMAR.UI.Indicator.PeripheralIndicator.flashAnimOpacity |
◆ waypoint
The documentation for this class was generated from the following file: