![]() |
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
| class | SCR_CursorEditorUIComponent |
Functions | |
| void | SetCursorPos (vector pos, bool DPIScale=false) |
| vector | GetCursorPos () |
| void | GetCursorPos (out int posX, out int posY) |
| bool | GetCursorWorldPos (out vector worldPos, bool isNormalized=false, TraceFlags flags=-1) |
| IEntity | GetTraceEntity () |
| protected void | SetCursorType (EEditorCursor type) |
| protected void | ResetCursor () |
| float | GetCursorRadius () |
| float | GetCursorRadiusSq () |
| void | SetCursorAlpha (float alpha, float strength=1) |
| protected void | UpdateCursorDebug () |
| protected void | UpdateCursor () |
| void | OnFilterChange (EEditableEntityState state, set< SCR_EditableEntityComponent > entitiesInsert, set< SCR_EditableEntityComponent > entitiesRemove) |
| protected bool | TraceFilter (Class target) |
| protected SCR_EditableEntityComponent | TraceEntity (vector cursorPos) |
| protected void | OnInputDeviceIsGamepad (bool isGamepad) |
| protected void | OnMenuUpdate (float tDelta) |
| void | OnMapToggled (MapConfiguration config) |
| override void | HandlerAttachedScripted (Widget w) |
| override void | HandlerDeattached (Widget w) |
| SCR_CursorEditorUIComponent SCR_BaseEditorUIComponent | SCR_BaseContainerCustomTitleEnum (EEditorCursor, "m_Type") |
| vector BaseContainerProps::GetCursorPos | ( | ) |
Get cached cursor position in reference resolution.
Definition at line 77 of file SCR_CursorEditorUIComponent.c.
Get cached cursor position as integers in native (current) resolution.
| [out] | posX | |
| [out] | posY |
Definition at line 110 of file SCR_CursorEditorUIComponent.c.
| float BaseContainerProps::GetCursorRadius | ( | ) |
Definition at line 245 of file SCR_CursorEditorUIComponent.c.
| float BaseContainerProps::GetCursorRadiusSq | ( | ) |
Definition at line 252 of file SCR_CursorEditorUIComponent.c.
| bool BaseContainerProps::GetCursorWorldPos | ( | out vector | worldPos, |
| bool | isNormalized = false, |
||
| TraceFlags | flags = -1 |
||
| ) |
Get world position below cursor.
| [out] | worldPos | Vector to be filled with world position |
| [in] | isNormalized | |
| [in] | flags | Trace flags to be used (send -1 for default flags) |
Definition at line 122 of file SCR_CursorEditorUIComponent.c.
| IEntity BaseContainerProps::GetTraceEntity | ( | ) |
Definition at line 205 of file SCR_CursorEditorUIComponent.c.
| override void BaseContainerProps::HandlerAttachedScripted | ( | Widget | w | ) |
Definition at line 459 of file SCR_CursorEditorUIComponent.c.
| override void BaseContainerProps::HandlerDeattached | ( | Widget | w | ) |
Definition at line 555 of file SCR_CursorEditorUIComponent.c.
| void BaseContainerProps::OnFilterChange | ( | EEditableEntityState | state, |
| set< SCR_EditableEntityComponent > | entitiesInsert, | ||
| set< SCR_EditableEntityComponent > | entitiesRemove | ||
| ) |
| [in] | state | |
| [in] | entitiesInsert | |
| [in] | entitiesRemove |
Definition at line 372 of file SCR_CursorEditorUIComponent.c.
| protected void BaseContainerProps::OnInputDeviceIsGamepad | ( | bool | isGamepad | ) |
Definition at line 418 of file SCR_CursorEditorUIComponent.c.
| void BaseContainerProps::OnMapToggled | ( | MapConfiguration | config | ) |
| [in] | config |
Definition at line 453 of file SCR_CursorEditorUIComponent.c.
| protected void BaseContainerProps::OnMenuUpdate | ( | float | tDelta | ) |
Definition at line 425 of file SCR_CursorEditorUIComponent.c.
| protected void BaseContainerProps::ResetCursor | ( | ) |
Definition at line 238 of file SCR_CursorEditorUIComponent.c.
| void BaseContainerProps::SetCursorAlpha | ( | float | alpha, |
| float | strength = 1 |
||
| ) |
| [in] | alpha | |
| [in] | strength |
Definition at line 260 of file SCR_CursorEditorUIComponent.c.
| void BaseContainerProps::SetCursorPos | ( | vector | pos, |
| bool | DPIScale = false |
||
| ) |
Set cursor position.
| [in] | pos | Cursor position |
| [in] | DPIScale | True if the position is in reference resolution, false if in native (current) |
Definition at line 45 of file SCR_CursorEditorUIComponent.c.
| protected void BaseContainerProps::SetCursorType | ( | EEditorCursor | type | ) |
Definition at line 211 of file SCR_CursorEditorUIComponent.c.
| protected SCR_EditableEntityComponent BaseContainerProps::TraceEntity | ( | vector | cursorPos | ) |
Definition at line 385 of file SCR_CursorEditorUIComponent.c.
| protected bool BaseContainerProps::TraceFilter | ( | Class | target | ) |
Definition at line 378 of file SCR_CursorEditorUIComponent.c.
| protected void BaseContainerProps::UpdateCursor | ( | ) |
Definition at line 274 of file SCR_CursorEditorUIComponent.c.
| protected void BaseContainerProps::UpdateCursorDebug | ( | ) |
Definition at line 267 of file SCR_CursorEditorUIComponent.c.
| private bool m_bCanFocus = true |
Definition at line 32 of file SCR_CursorEditorUIComponent.c.
| private SCR_CommandActionsEditorUIComponent m_CommandManager |
Definition at line 23 of file SCR_CursorEditorUIComponent.c.
| private SCR_CursorEditor m_CurrentCursor |
Definition at line 12 of file SCR_CursorEditorUIComponent.c.
| private ref array<ref SCR_CursorEditor> m_Cursors |
Definition at line 9 of file SCR_CursorEditorUIComponent.c.
| private ref map<EEditorCursor, ref SCR_CursorEditor> m_CursorsMap = new map<EEditorCursor, ref SCR_CursorEditor>() |
Definition at line 11 of file SCR_CursorEditorUIComponent.c.
| protected TraceFlags m_DefaultWorldTraceFlags = TraceFlags.WORLD | TraceFlags.OCEAN | TraceFlags.ENTS |
Definition at line 39 of file SCR_CursorEditorUIComponent.c.
| private SCR_EditorManagerEntity m_EditorManager |
Definition at line 18 of file SCR_CursorEditorUIComponent.c.
| private SCR_EditableEntityComponent m_EntityUnderCursor |
Definition at line 20 of file SCR_CursorEditorUIComponent.c.
| private float m_fGamepadCursorRadius |
Definition at line 14 of file SCR_CursorEditorUIComponent.c.
| private float m_fGamepadCursorRadiusSq |
Definition at line 15 of file SCR_CursorEditorUIComponent.c.
| private float m_fTargetAlpha = 1 |
Definition at line 36 of file SCR_CursorEditorUIComponent.c.
| private float m_fTargetAlphaStrength |
Definition at line 37 of file SCR_CursorEditorUIComponent.c.
| private SCR_HoverEditableEntityFilter m_HoverManager |
Definition at line 21 of file SCR_CursorEditorUIComponent.c.
| private int m_iCursorPosX |
Definition at line 30 of file SCR_CursorEditorUIComponent.c.
| private int m_iCursorPosY |
Definition at line 31 of file SCR_CursorEditorUIComponent.c.
| private int m_iFrameIndex |
Definition at line 33 of file SCR_CursorEditorUIComponent.c.
| private int m_iFrameUpdate |
Definition at line 34 of file SCR_CursorEditorUIComponent.c.
| private int m_iFrameUpdateWorld |
Definition at line 35 of file SCR_CursorEditorUIComponent.c.
| private InputManager m_InputManager |
Definition at line 16 of file SCR_CursorEditorUIComponent.c.
| private SCR_MapEntity m_MapEntity |
Definition at line 24 of file SCR_CursorEditorUIComponent.c.
| private SCR_MouseAreaEditorUIComponent m_MouseArea |
Definition at line 38 of file SCR_CursorEditorUIComponent.c.
| private SCR_PreviewEntityEditorComponent m_PreviewManager |
Definition at line 22 of file SCR_CursorEditorUIComponent.c.
| private SCR_StatesEditorComponent m_StatesManager |
Definition at line 19 of file SCR_CursorEditorUIComponent.c.
| private IEntity m_TraceEntity |
Definition at line 25 of file SCR_CursorEditorUIComponent.c.
| private vector m_vCursorPos |
Definition at line 27 of file SCR_CursorEditorUIComponent.c.
| private vector m_vCursorPosWorld |
Definition at line 28 of file SCR_CursorEditorUIComponent.c.
| private vector m_vCursorPosWorldNormalized |
Definition at line 29 of file SCR_CursorEditorUIComponent.c.
| private vector m_vGamepadCursorSize |
Definition at line 13 of file SCR_CursorEditorUIComponent.c.
| private WorkspaceWidget m_wWorkspace |
Definition at line 17 of file SCR_CursorEditorUIComponent.c.
| const protected float TRACE_DIS_REPEATED = 250 |
Definition at line 3 of file SCR_CursorEditorUIComponent.c.
| const protected float TRACE_DIS_SINGLE = 10000 |
Definition at line 2 of file SCR_CursorEditorUIComponent.c.