Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_TransformingEditorUIComponent Interface Reference
Inheritance diagram for SCR_TransformingEditorUIComponent:
[legend]

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)
 
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 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 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.
 

Protected Attributes

InputManager m_InputManager
 
SCR_TransformingEditorComponent m_TransformingManager
 
SCR_StatesEditorComponent m_StatesManager
 
SCR_CursorEditorUIComponent m_CursorComponent
 
SCR_BaseEditableEntityFilter m_SelectedFilter
 
SCR_BaseEditableEntityFilter m_FocusedFilter
 
SCR_EditableEntityComponent m_HoverEntity
 
SCR_EditableEntityComponent m_ActiveHoverEntity
 
SCR_LayersEditorComponent m_LayersManager
 
SCR_EntitiesToolbarEditorUIComponent m_EntityToolbar
 
vector m_vClickTransform [4]
 
bool m_bClicked
 
- Protected Attributes inherited from SCR_PreviewEntityEditorUIComponent
float m_fMoveVerticalCoef
 
float m_fRotationCoef
 
float m_fRotationInertia
 
float m_fUnsnapDuration
 
float m_fMinAngleWall
 
float m_fMinAngleCeiling
 
float m_fMinCameraVerticalOffset
 
ResourceName m_DirIndicatorPrefab
 
InputManager m_InputManagerBase
 
SCR_PreviewEntityEditorComponent m_PreviewEntityManager
 
SCR_CameraEditorComponent m_CameraManagerBase
 
SCR_PlacingEditorComponent m_PlacingManager
 
SCR_CursorEditorUIComponent m_CursorComponentBase
 
SCR_HoverEditableEntityFilter m_HoverFilter
 
BaseWorld m_World
 
vector m_vClickTransformBase [4]
 
vector m_vClickPosBase
 
vector m_vClickPosWorldBase
 
bool m_bMouseMoved
 
bool m_bIsRotatingTowardsCursor
 
SCR_EditableEntityComponent m_Target
 
float m_fTargetYaw
 
float m_fUnsnapProgress
 
vector m_vTransformOrigin [4]
 
vector m_vAnglesOrigin
 
vector m_vAnimatedTransform [4]
 
vector m_vRotationPivot
 
bool m_bIsAnimated
 
vector m_vTerrainNormal
 
EPreviewEntityEditorOperation m_Operation
 
IEntity m_DirIndicator
 
float m_fDirIndicatorScale
 
ref TraceParam m_RotationTrace
 
- Protected Attributes inherited from SCR_BaseEditorUIComponent
vector m_vClickPosCancel
 

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
 

Member Function Documentation

◆ CancelEditing()

void SCR_TransformingEditorUIComponent.CancelEditing ( )
protected

◆ Clean()

void SCR_TransformingEditorUIComponent.Clean ( )
protected

◆ ConfirmEditing()

void SCR_TransformingEditorUIComponent.ConfirmEditing ( )
protected

◆ GetPreviewStateToShow()

override SCR_EPreviewState SCR_TransformingEditorUIComponent.GetPreviewStateToShow ( )
protected

If the composition can't be transformed to a new position, turn the colour of the preview to red.

Implements SCR_PreviewEntityEditorUIComponent.

◆ HandlerAttachedScripted()

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.

Parameters
Widget

Implements SCR_PreviewEntityEditorUIComponent.

◆ HandlerDeattached()

override void SCR_TransformingEditorUIComponent.HandlerDeattached ( Widget  w)

◆ OnEditorCancelTransformingUp()

void SCR_TransformingEditorUIComponent.OnEditorCancelTransformingUp ( float  value,
EActionTrigger  reason 
)
protected

◆ OnEditorTransformDown()

void SCR_TransformingEditorUIComponent.OnEditorTransformDown ( float  value,
EActionTrigger  reason 
)
protected

◆ OnEditorTransformRotationModifierUp()

override void SCR_TransformingEditorUIComponent.OnEditorTransformRotationModifierUp ( float  value,
EActionTrigger  reason 
)

◆ OnEditorTransformToggleDown()

void SCR_TransformingEditorUIComponent.OnEditorTransformToggleDown ( float  value,
EActionTrigger  reason 
)
protected

◆ OnHoverChange()

override void SCR_TransformingEditorUIComponent.OnHoverChange ( EEditableEntityState  state,
set< SCR_EditableEntityComponent entitiesInsert,
set< SCR_EditableEntityComponent entitiesRemove 
)

◆ OnInputDeviceIsGamepad()

void SCR_TransformingEditorUIComponent.OnInputDeviceIsGamepad ( bool  isGamepad)
protected

◆ OnMapOpen()

void SCR_TransformingEditorUIComponent.OnMapOpen ( MapConfiguration  config)
Parameters
[in]config

◆ OnMenuUpdate()

void SCR_TransformingEditorUIComponent.OnMenuUpdate ( float  tDelta)
protected

◆ OnTransformationEnd()

void SCR_TransformingEditorUIComponent.OnTransformationEnd ( )
protected

◆ OnTransformCleanStart()

void SCR_TransformingEditorUIComponent.OnTransformCleanStart ( )
protected

◆ StartEditing()

void SCR_TransformingEditorUIComponent.StartEditing ( )
protected

Member Data Documentation

◆ m_ActiveHoverEntity

SCR_EditableEntityComponent SCR_TransformingEditorUIComponent.m_ActiveHoverEntity
protected

◆ m_bClicked

bool SCR_TransformingEditorUIComponent.m_bClicked
protected

◆ m_CursorComponent

SCR_CursorEditorUIComponent SCR_TransformingEditorUIComponent.m_CursorComponent
protected

◆ m_EntityToolbar

SCR_EntitiesToolbarEditorUIComponent SCR_TransformingEditorUIComponent.m_EntityToolbar
protected

◆ m_FocusedFilter

SCR_BaseEditableEntityFilter SCR_TransformingEditorUIComponent.m_FocusedFilter
protected

◆ m_HoverEntity

SCR_EditableEntityComponent SCR_TransformingEditorUIComponent.m_HoverEntity
protected

◆ m_InputManager

InputManager SCR_TransformingEditorUIComponent.m_InputManager
protected

◆ m_LayersManager

SCR_LayersEditorComponent SCR_TransformingEditorUIComponent.m_LayersManager
protected

◆ m_SelectedFilter

SCR_BaseEditableEntityFilter SCR_TransformingEditorUIComponent.m_SelectedFilter
protected

◆ m_StatesManager

SCR_StatesEditorComponent SCR_TransformingEditorUIComponent.m_StatesManager
protected

◆ m_TransformingManager

SCR_TransformingEditorComponent SCR_TransformingEditorUIComponent.m_TransformingManager
protected

◆ m_vClickTransform

vector SCR_TransformingEditorUIComponent.m_vClickTransform[4]
protected

The documentation for this interface was generated from the following file: