Arma Reforger Script API
|
Public Member Functions | |
void | UpdateShowOffScreen () |
Set if the icon should be shown on screen borders when its position is off-screen. | |
bool | IsShownOffScreen () |
Check if the icon is supposed to be shown on screen borders when its position is off-screen. | |
void | SetOffScreenPadding (float padding) |
Set padding from screen border when the icon is rendered off-screen. | |
float | GetOffScreenPadding () |
Get padding from screen border when the icon is rendered off-screen. | |
Widget | GetOffScreenWidget () |
override bool | IsPreview () |
vector | GetIntersectionPoint (vector A1, vector A2, vector B1, vector B2) |
vector | ShowOffScreen (vector pos, int screenW, int screenH, vector posCenter) |
override vector | UpdateSlot (int screenW, int screenH, vector posCenter, vector posCam) |
override Widget | CreateWidgetForEntity (SCR_EditableEntityComponent entity, SCR_EntitiesEditorUIRule rule, ResourceName layout) |
override void | DeleteWidget (SCR_EntitiesEditorUIRule rule) |
override void | InitSlot (SCR_EditableEntityComponent entity) |
Public Member Functions inherited from SCR_EditableEntityBaseSlotUIComponent | |
bool | IsEmpty () |
Check if the slot is empty, i.e., doesn't contain icons for any rule. | |
SCR_EditableEntityComponent | GetEntity () |
Get entity this slot represents. | |
Widget | CreateWidget (SCR_EditableEntityUIInfo info, SCR_EntitiesEditorUIRule rule) |
Create icon from UI info and a rule. | |
Widget | CreateWidget (SCR_EditableEntityComponent entity, SCR_EntitiesEditorUIRule rule) |
Create icon from editable entity and a rule. | |
Widget | CreateWidget (SCR_EditableEntityComponent entity, ResourceName layout) |
Create icon from editable entity and layout path. | |
void | DeleteWidget (SCR_EntitiesEditorUIRule rule) |
vector | UpdateSlot (int screenW, int screenH, vector posCenter, vector posCam) |
void | InitSlot (SCR_EditableEntityComponent entity) |
void | DeleteSlot () |
bool | IsPreview () |
Widget | GetWidget () |
override void | HandlerAttached (Widget w) |
Protected Attributes | |
float | m_fOffScreenPadding |
ResourceName | m_OffScreenPrefab |
WorkspaceWidget | m_Workspace |
BaseWorld | m_World |
bool | m_bShowOffScreen = false |
bool | m_bIsOffScreen |
vector | m_vCornersPadding [4] |
ImageWidget | m_OffScreenWidget |
bool | m_bIsPreview |
Protected Attributes inherited from SCR_EditableEntityBaseSlotUIComponent | |
Widget | m_Widget |
SCR_EditableEntityComponent | m_Entity |
ref map< SCR_EntitiesEditorUIRule, SCR_BaseEditableEntityUIComponent > | m_EntityWidgets = new map<SCR_EntitiesEditorUIRule, SCR_BaseEditableEntityUIComponent>() |
Additional Inherited Members | |
Protected Member Functions inherited from SCR_EditableEntityBaseSlotUIComponent | |
Widget | CreateWidgetForEntity (SCR_EditableEntityComponent entity, SCR_EntitiesEditorUIRule rule, ResourceName layout) |
SCR_BaseEditableEntityUIComponent | CreateWidgetFromLayout (ResourceName layout) |
void | SetFactionColor () |
void | RefreshSlot () |
void | ResetSlot () |
override Widget SCR_EditableEntitySceneSlotUIComponent.CreateWidgetForEntity | ( | SCR_EditableEntityComponent | entity, |
SCR_EntitiesEditorUIRule | rule, | ||
ResourceName | layout | ||
) |
Implements SCR_EditableEntityBaseSlotUIComponent.
override void SCR_EditableEntitySceneSlotUIComponent.DeleteWidget | ( | SCR_EntitiesEditorUIRule | rule | ) |
[in] | rule |
Implements SCR_EditableEntityBaseSlotUIComponent.
vector SCR_EditableEntitySceneSlotUIComponent.GetIntersectionPoint | ( | vector | A1, |
vector | A2, | ||
vector | B1, | ||
vector | B2 | ||
) |
[in] | A1 | |
[in] | A2 | |
[in] | B1 | |
[in] | B2 |
float SCR_EditableEntitySceneSlotUIComponent.GetOffScreenPadding | ( | ) |
Get padding from screen border when the icon is rendered off-screen.
Widget SCR_EditableEntitySceneSlotUIComponent.GetOffScreenWidget | ( | ) |
override void SCR_EditableEntitySceneSlotUIComponent.InitSlot | ( | SCR_EditableEntityComponent | entity | ) |
[in] | entity |
Implements SCR_EditableEntityBaseSlotUIComponent.
Implemented in SCR_EditableEntityCustomSlotUIComponent.
override bool SCR_EditableEntitySceneSlotUIComponent.IsPreview | ( | ) |
Implements SCR_EditableEntityBaseSlotUIComponent.
bool SCR_EditableEntitySceneSlotUIComponent.IsShownOffScreen | ( | ) |
Check if the icon is supposed to be shown on screen borders when its position is off-screen.
void SCR_EditableEntitySceneSlotUIComponent.SetOffScreenPadding | ( | float | padding | ) |
Set padding from screen border when the icon is rendered off-screen.
[in] | padding |
vector SCR_EditableEntitySceneSlotUIComponent.ShowOffScreen | ( | vector | pos, |
int | screenW, | ||
int | screenH, | ||
vector | posCenter | ||
) |
[in] | pos | |
[in] | screenW | |
[in] | screenH | |
[in] | posCenter |
void SCR_EditableEntitySceneSlotUIComponent.UpdateShowOffScreen | ( | ) |
Set if the icon should be shown on screen borders when its position is off-screen.
override vector SCR_EditableEntitySceneSlotUIComponent.UpdateSlot | ( | int | screenW, |
int | screenH, | ||
vector | posCenter, | ||
vector | posCam | ||
) |
[in] | screenW | |
[in] | screenH | |
[in] | posCenter | |
[in] | posCam |
Implements SCR_EditableEntityBaseSlotUIComponent.
Implemented in SCR_EditableEntityCustomSlotUIComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |