|
Arma Reforger Script API
|
Public Member Functions | |
| override void | OnHoverChange (EEditableEntityState state, set< SCR_EditableEntityComponent > entitiesInsert, set< SCR_EditableEntityComponent > entitiesRemove) |
| override void | OnEditorTransformRotationModifierUp (float value, EActionTrigger reason) |
| override void | HandlerAttachedScripted (Widget w) |
| Event called when subcomponent is initialized. | |
| void | OnMapOpen (MapConfiguration config) |
| 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,. | |
| override void | HandlerAttached (Widget w) |
Protected Member Functions | |
| void | OnEditorTransformToggleDown (float value, EActionTrigger reason) |
| void | OnEditorTransformDown (float value, EActionTrigger reason) |
| void | OnEditorCancelTransformingUp (float value, EActionTrigger reason) |
| void | StartEditing () |
| void | ConfirmEditing () |
| void | CancelEditing () |
| void | OnTransformCleanStart () |
| void | Clean () |
| void | OnTransformationEnd () |
| void | OnInputDeviceIsGamepad (bool isGamepad) |
| void | OnMenuUpdate (float tDelta) |
| override SCR_EPreviewState | GetPreviewStateToShow () |
| If the composition can't be transformed to a new position, turn the colour of the preview to red. | |
Protected Member Functions inherited from SCR_PreviewEntityEditorUIComponent | |
| void | OnPreviewCreate () |
| void | OnPreviewDelete () |
| void | OnEditorTransformSnapToSurface () |
| void | OnEditorTransformRotationModifierDown (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]) |
| 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. | |
Additional Inherited Members | |
Static Public Attributes inherited from SCR_BaseEditorUIComponent | |
| const int | CANCEL_CLICK_MAX_DIS = 5 |
| const int | CANCEL_CLICK_MAX_TIME = 500 |
Static Protected Attributes inherited from SCR_PreviewEntityEditorUIComponent | |
| static const int | MIN_CURSOR_DIS_TO_TRANSFORM = 10 |
| static const float | TRACE_DIS = 2000 |
|
protected |
|
protected |
|
protected |
|
protected |
If the composition can't be transformed to a new position, turn the colour of the preview to red.
Implements SCR_PreviewEntityEditorUIComponent.
| override void SCR_TransformingEditorUIComponent.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 SCR_PreviewEntityEditorUIComponent.
| override void SCR_TransformingEditorUIComponent.HandlerDeattached | ( | Widget | w | ) |
Implements SCR_PreviewEntityEditorUIComponent.
|
protected |
|
protected |
| override void SCR_TransformingEditorUIComponent.OnEditorTransformRotationModifierUp | ( | float | value, |
| EActionTrigger | reason ) |
Implements SCR_PreviewEntityEditorUIComponent.
|
protected |
| override void SCR_TransformingEditorUIComponent.OnHoverChange | ( | EEditableEntityState | state, |
| set< SCR_EditableEntityComponent > | entitiesInsert, | ||
| set< SCR_EditableEntityComponent > | entitiesRemove ) |
Implements SCR_PreviewEntityEditorUIComponent.
|
protected |
| void SCR_TransformingEditorUIComponent.OnMapOpen | ( | MapConfiguration | config | ) |
| [in] | config |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |