FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.UI.Indicators.Indicator Class Reference

A single indicator which is associated with a single point of interest somewhere in 3D space. More...

Inheritance diagram for FMAR.UI.Indicators.Indicator:

Public Member Functions

Indicator Init (PointOfInterest poi, float pingInterval)
 Initializes the indicator.
 
void Refresh (Transform camTf)
 Refreshes the indicator, updating the position and rotation, and updating the text.
 

Public Attributes

PointOfInterest poi
 The waypoint this indicator represents.
 

Detailed Description

A single indicator which is associated with a single point of interest somewhere in 3D space.

Member Function Documentation

◆ Init()

Indicator FMAR.UI.Indicators.Indicator.Init ( PointOfInterest poi,
float pingInterval )
inline

Initializes the indicator.

Parameters
poiThe point of interest to associate with the indicator.
pingIntervalThe interval at which to ping the indicator.
Returns
The initialized indicator.

◆ Refresh()

void FMAR.UI.Indicators.Indicator.Refresh ( Transform camTf)
inline

Refreshes the indicator, updating the position and rotation, and updating the text.

Parameters
camTfThe transform of the camera.

Member Data Documentation

◆ poi

PointOfInterest FMAR.UI.Indicators.Indicator.poi

The waypoint this indicator represents.


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