Simple radial compass which will rotate based on current camera position.
More...
Simple radial compass which will rotate based on current camera position.
Has to be attached to MenuRootBase to be updated automatically, otherwise call UpdateRotation() manually.
◆ HandlerAttachedScripted()
| override void SCR_CompassUIComponent.HandlerAttachedScripted |
( |
Widget | w | ) |
|
Event called when subcomponent is initialized.
Called only after all other subcomponents were registered as well and can be searched for. To be overwritten by inherited classes.
- Parameters
-
Implements MenuRootSubComponent.
◆ HandlerDeattached()
| override void SCR_CompassUIComponent.HandlerDeattached |
( |
Widget | w | ) |
|
◆ UpdateRotation()
| void SCR_CompassUIComponent.UpdateRotation |
( |
float | timeSlice | ) |
|
Update compass rtation base don the current view.
- Parameters
-
| timeSlice | Time since the last frame |
◆ m_fLabelsDistance
| float SCR_CompassUIComponent.m_fLabelsDistance |
|
protected |
◆ m_Labels
| ref map<Widget, float> SCR_CompassUIComponent.m_Labels = new map<Widget, float> |
|
protected |
◆ m_sEastWidgetName
| string SCR_CompassUIComponent.m_sEastWidgetName |
|
protected |
◆ m_sNorthWidgetName
| string SCR_CompassUIComponent.m_sNorthWidgetName |
|
protected |
◆ m_sSouthWidgetName
| string SCR_CompassUIComponent.m_sSouthWidgetName |
|
protected |
◆ m_sTextureWidgetName
| string SCR_CompassUIComponent.m_sTextureWidgetName |
|
protected |
◆ m_sWestWidgetName
| string SCR_CompassUIComponent.m_sWestWidgetName |
|
protected |
◆ m_TextureWidget
| ImageWidget SCR_CompassUIComponent.m_TextureWidget |
|
protected |
◆ m_World
| BaseWorld SCR_CompassUIComponent.m_World |
|
protected |
The documentation for this interface was generated from the following file:
- Game/UI/Components/SCR_CompassUIComponent.c