|
override vector | UpdateSlot (int screenW, int screenH, vector posCenter, vector posCam) |
|
override void | InitSlot (SCR_EditableEntityComponent entity) |
|
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) |
|
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) |
|