Arma Reforger Script API
|
Attached to root of marker dynamic base layout. More...
Public Member Functions | |
void | SetMarkerEntity (notnull SCR_MapMarkerEntity marker) |
void | SetLayerID (int id) |
void | SetImage (ResourceName icon, string quad, float aspectRatio=1, int sizeFlag=64) |
Supports custom aspect ratio in case of non standard size imagesets. | |
void | SetText (string text) |
void | SetTextVisible (bool state) |
void | SetColor (Color color) |
override void | HandlerAttached (Widget w) |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
Widget | GetRootWidget () |
bool | IsVisible () |
Protected Attributes | |
int | m_iLayerID |
ImageWidget | m_wMarkerIcon |
TextWidget | m_wMarkerText |
SCR_MapMarkerEntity | m_MarkerEnt |
Protected Attributes inherited from SCR_ScriptedWidgetComponent | |
Widget | m_wRoot |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
Base method for component lookup through the widget library. | |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Attached to root of marker dynamic base layout.
override void SCR_MapMarkerDynamicWComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_ScriptedWidgetComponent.
Implemented in SCR_MapMarkerSquadLeaderComponent.
void SCR_MapMarkerDynamicWComponent.SetColor | ( | Color | color | ) |
[in] | color |
void SCR_MapMarkerDynamicWComponent.SetImage | ( | ResourceName | icon, |
string | quad, | ||
float | aspectRatio = 1 , |
||
int | sizeFlag = 64 |
||
) |
Supports custom aspect ratio in case of non standard size imagesets.
[in] | icon | |
[in] | quad | |
[in] | aspectRatio |
void SCR_MapMarkerDynamicWComponent.SetLayerID | ( | int | id | ) |
void SCR_MapMarkerDynamicWComponent.SetMarkerEntity | ( | notnull SCR_MapMarkerEntity | marker | ) |
[in] | marker |
void SCR_MapMarkerDynamicWComponent.SetText | ( | string | text | ) |
[in] | text |
void SCR_MapMarkerDynamicWComponent.SetTextVisible | ( | bool | state | ) |
[in] | state |
|
protected |
|
protected |
|
protected |
|
protected |