Arma Reforger Script API
|
Public Member Functions | |
override void | HandlerAttachedScripted (Widget w) |
Event called when subcomponent is initialized. | |
override void | HandlerDeattached (Widget w) |
Public Member Functions inherited from MenuRootSubComponent | |
Widget | GetWidget () |
Get widget to which the component belongs to. | |
MenuRootBase | GetMenu () |
Get menu of which the widget is part of. | |
MenuRootComponent | GetRootComponent () |
Get root component of this subcomponent,. | |
void | HandlerAttachedScripted (Widget w) |
Event called when subcomponent is initialized. | |
override void | HandlerAttached (Widget w) |
override void | HandlerDeattached (Widget w) |
Protected Member Functions | |
void | OnHoverChange (EEditableEntityState state, set< SCR_EditableEntityComponent > entitiesInsert, set< SCR_EditableEntityComponent > entitiesRemove) |
void | OnPreviewCreate () |
void | OnPreviewDelete () |
void | OnEditorTransformSnapToSurface () |
void | OnEditorTransformRotationModifierDown (float value, EActionTrigger reason) |
void | OnEditorTransformRotationModifierUp (float value, EActionTrigger reason) |
void | OnEditorTransformMoveVerticalModifierDown (float value, EActionTrigger reason) |
void | OnEditorTransformMoveVerticalModifierUp (float value, EActionTrigger reason) |
void | SetRotationPivot () |
void | SetClickPos (vector clickPos) |
bool | HasMouseMoved () |
void | GetCursorPos (out vector cameraPos, out vector cursorDir) |
float | GetTraceDis (vector pos, vector dir, float cameraHeight) |
void | UpdateDirIndicator (vector previewTransform[4]) |
SCR_EPreviewState | GetPreviewStateToShow () |
void | MoveHorizontalTowardsCursor (float tDelta, out vector transform[4], out bool canTransform, out EEditorTransformVertical verticalMode) |
bool | MoveVertical (float tDelta, out vector transform[4], float moveVertical, EEditorTransformVertical verticalMode) |
void | MoveVerticalTowardsCursor (float tDelta, out vector transform[4]) |
void | Rotate (float tDelta, out vector transform[4], float rotationValue) |
bool | RotateInSlot (SCR_EditableEntityComponent slot, float rotationValue, out vector angles, out bool freeRotation) |
void | RotateTowardsCursor (float tDelta, out vector transform[4]) |
bool | GetPreviewPosAboveGeometry (vector cameraPos, vector cursorDir, out vector worldPos, out EEditorTransformVertical verticalMode) |
bool | GetPreviewPosAboveTerrain (vector cameraPos, vector cursorDir, out vector worldPos, out EEditorTransformVertical verticalMode) |
bool | GetPreviewPosAboveSea (vector cameraPos, vector cursorDir, out vector worldPos, out EEditorTransformVertical verticalMode) |
void | ProcessInput (float tDelta) |
void | ActivatePreviewContext () |
Protected Member Functions inherited from SCR_BaseEditorUIComponent | |
vector | OnCancelDown () |
bool | OnCancelUp () |
void | OnCancelExpired () |
Protected Member Functions inherited from MenuRootSubComponent | |
bool | IsUnique () |
Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for. | |
Static Protected Attributes | |
static const int | MIN_CURSOR_DIS_TO_TRANSFORM = 10 |
static const float | TRACE_DIS = 2000 |
Additional Inherited Members | |
Static Public Attributes inherited from SCR_BaseEditorUIComponent | |
const int | CANCEL_CLICK_MAX_DIS = 5 |
const int | CANCEL_CLICK_MAX_TIME = 500 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Implemented in SCR_PlacingEditorUIComponent, and SCR_TransformingEditorUIComponent.
|
protected |
override void SCR_PreviewEntityEditorUIComponent.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.
Widget |
Implements MenuRootSubComponent.
Implemented in SCR_PlacingEditorUIComponent, and SCR_TransformingEditorUIComponent.
override void SCR_PreviewEntityEditorUIComponent.HandlerDeattached | ( | Widget | w | ) |
Implements MenuRootSubComponent.
Implemented in SCR_PlacingEditorUIComponent, and SCR_TransformingEditorUIComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Implemented in SCR_PlacingEditorUIComponent, and SCR_TransformingEditorUIComponent.
|
protected |
|
protected |
Implemented in SCR_PlacingEditorUIComponent, and SCR_TransformingEditorUIComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |