FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.UI.Widgets.Map.PoiIcon Class Reference

Represents a point of interest icon on the map. More...

Inheritance diagram for FMAR.UI.Widgets.Map.PoiIcon:
FMAR.Internal.Tooltips.IHasTooltip

Public Member Functions

PoiIcon Init (PointOfInterest poi)
 Initializes the point of interest icon with the given point of interest.
 
void Refresh (Vector3 flat, float observationRadius)
 Refreshes the point of interest icon's position based on the given parameters.
 

Protected Attributes

RectTransform rt
 

Properties

string TooltipText [get]
 The tooltip text for the point of interest icon.
 
Transform TooltipTransform [get]
 The tooltip transform for the point of interest icon.
 
Vector3 TooltipPosition [get]
 The tooltip position for the point of interest icon.
 
Quaternion TooltipRotation [get]
 The tooltip rotation for the point of interest icon.
 
- Properties inherited from FMAR.Internal.Tooltips.IHasTooltip

Detailed Description

Represents a point of interest icon on the map.

Member Function Documentation

◆ Init()

PoiIcon FMAR.UI.Widgets.Map.PoiIcon.Init ( PointOfInterest poi)
inline

Initializes the point of interest icon with the given point of interest.

Parameters
poiThe point of interest.
Returns
The initialized point of interest icon.

◆ Refresh()

void FMAR.UI.Widgets.Map.PoiIcon.Refresh ( Vector3 flat,
float observationRadius )
inline

Refreshes the point of interest icon's position based on the given parameters.

Parameters
flatThe flat position vector.
observationRadiusThe observation radius.

Member Data Documentation

◆ rt

RectTransform FMAR.UI.Widgets.Map.PoiIcon.rt
protected

Property Documentation

◆ TooltipPosition

Vector3 FMAR.UI.Widgets.Map.PoiIcon.TooltipPosition
get

The tooltip position for the point of interest icon.

Implements FMAR.Internal.Tooltips.IHasTooltip.

◆ TooltipRotation

Quaternion FMAR.UI.Widgets.Map.PoiIcon.TooltipRotation
get

The tooltip rotation for the point of interest icon.

Implements FMAR.Internal.Tooltips.IHasTooltip.

◆ TooltipText

string FMAR.UI.Widgets.Map.PoiIcon.TooltipText
get

The tooltip text for the point of interest icon.

Implements FMAR.Internal.Tooltips.IHasTooltip.

◆ TooltipTransform

Transform FMAR.UI.Widgets.Map.PoiIcon.TooltipTransform
get

The tooltip transform for the point of interest icon.

Implements FMAR.Internal.Tooltips.IHasTooltip.


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