![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Compass component. More...
Protected Member Functions | |
| ResourceName | GetMapPrefabResource () |
| void | UpdateNeedleDirection (float timeSlice) |
| void | UpdateNeedleShake (float timeSlice) |
| void | Init2DMapCompass () |
| Init for 2D map compass UI. | |
| void | DragMapCompass () |
| MapCompassUI drag activation, simulating movement. | |
| void | SetMapMode () |
| Activate in a map UI mode. | |
| vector | GetMapCamPosition () |
| Get compass in map UI camera position configuration. | |
| void | UpdateCompassState () |
| Update state of compass active/inactive. | |
| float | GetDampingRatio (float overshootPercentage) |
| void | CalculateConstants () |
| Init configurables. | |
| override void | ModeSwitch (EGadgetMode mode, IEntity charOwner) |
| override void | ModeClear (EGadgetMode mode) |
| override void | ActivateGadgetUpdate () |
| override void | DeactivateGadgetUpdate () |
| override EGadgetType | GetType () |
| override bool | CanBeRaised () |
| override bool | IsUsingADSControls () |
| override bool | RplSave (ScriptBitWriter writer) |
| override bool | RplLoad (ScriptBitReader reader) |
| override void | Update (float timeSlice) |
| override void | OnPostInit (IEntity owner) |
Protected Attributes | |
| float | m_fNeedleAccelerationConstant = 0 |
| float | m_fNeedleDragConstant = 0 |
| float | m_fNeedleAngle = 0 |
| float | m_fNeedleVelocity = 0 |
| float | m_fShakeAccelerationConstant = 0 |
| float | m_fShakeDragConstant = 0 |
| float | m_fShakeAngle = 0 |
| float | m_fShakeVelocity = 0 |
| vector | m_vPreviousFrameAngles |
| bool | m_bIsInMapMode |
| SignalsManagerComponent | m_SignalManager |
| ref SCR_CompassComponentClass | m_PrefabData |
Compass component.
Definition at line 66 of file SCR_CompassComponent.c.
|
inlineprotected |
Definition at line 310 of file SCR_CompassComponent.c.
|
inlineprotected |
Init configurables.
Definition at line 267 of file SCR_CompassComponent.c.
|
inlineprotected |
Definition at line 336 of file SCR_CompassComponent.c.
|
inlineprotected |
Definition at line 320 of file SCR_CompassComponent.c.
|
inlineprotected |
MapCompassUI drag activation, simulating movement.
Definition at line 184 of file SCR_CompassComponent.c.
Get damping ratiot from overshoot percentage
| [in] | overshootPercentage | is % overshoot of the needle when settling |
Definition at line 257 of file SCR_CompassComponent.c.
|
inlineprotected |
Get compass in map UI camera position configuration.
Definition at line 204 of file SCR_CompassComponent.c.
|
inlineprotected |
Get 2D map prefab resource name
Definition at line 98 of file SCR_CompassComponent.c.
|
inlineprotected |
Definition at line 330 of file SCR_CompassComponent.c.
|
inlineprotected |
Init for 2D map compass UI.
Definition at line 168 of file SCR_CompassComponent.c.
|
inlineprotected |
Definition at line 342 of file SCR_CompassComponent.c.
|
inlineprotected |
Definition at line 298 of file SCR_CompassComponent.c.
|
inlineprotected |
Definition at line 286 of file SCR_CompassComponent.c.
|
inlineprotected |
Definition at line 379 of file SCR_CompassComponent.c.
|
inlineprotected |
Definition at line 359 of file SCR_CompassComponent.c.
|
inlineprotected |
Definition at line 348 of file SCR_CompassComponent.c.
|
inlineprotected |
Activate in a map UI mode.
Definition at line 193 of file SCR_CompassComponent.c.
|
inlineprotected |
Definition at line 372 of file SCR_CompassComponent.c.
|
inlineprotected |
Update state of compass active/inactive.
Definition at line 211 of file SCR_CompassComponent.c.
|
inlineprotected |
Updates the needle angle around the Y axis, to pointing north
| [in] | timeSlice | is OnFrame timeslice |
Definition at line 106 of file SCR_CompassComponent.c.
|
inlineprotected |
Applies shake to the needle based on rotations
| [in] | timeSlice | is OnFrame timeslice |
Definition at line 131 of file SCR_CompassComponent.c.
|
protected |
Definition at line 90 of file SCR_CompassComponent.c.
|
protected |
Definition at line 71 of file SCR_CompassComponent.c.
|
protected |
Definition at line 75 of file SCR_CompassComponent.c.
|
protected |
Definition at line 72 of file SCR_CompassComponent.c.
|
protected |
Definition at line 76 of file SCR_CompassComponent.c.
|
protected |
Definition at line 79 of file SCR_CompassComponent.c.
|
protected |
Definition at line 83 of file SCR_CompassComponent.c.
|
protected |
Definition at line 80 of file SCR_CompassComponent.c.
|
protected |
Definition at line 84 of file SCR_CompassComponent.c.
|
protected |
Definition at line 93 of file SCR_CompassComponent.c.
|
protected |
Definition at line 92 of file SCR_CompassComponent.c.
|
protected |
Definition at line 87 of file SCR_CompassComponent.c.