![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| override int | GetCount () |
| Returns the number of available elements. | |
| override int | GetCurrentIndex () |
| Returns currently selected element or -1 if none. | |
| override void | SetIndex (int index) |
| override void | OnInit (IEntity owner, BaseSightsComponent sights) |
| override void | OnUpdate (IEntity owner, BaseSightsComponent sights, float timeSlice) |
| override float | GetCurrentFOV () |
| array< float > | ZoomsToArray () |
| Get array of each zoom based on min-max and steps in between. | |
| void | InsertFov (float fov) |
| Add new fov based on reticle range and zoom. | |
| int | GetStepsCount () |
| void | SetCurrentFov (float fov) |
| float | GetZoom (int i, int count) |
| float | GetCurrentZoom () |
| float | GetBaseZoom () |
| override float | GetBaseFOV () |
| override bool | IsAdjusting () |
| Returns true when current FOV of the optic does not match the target FOV. | |
| void | ForceUpdate (IEntity owner, BaseSightsComponent sights, float timeSlice) |
Protected Attributes | |
| float | m_fBaseZoom |
| float | m_fZoomMax |
| float | m_fStepZoomSize |
| float | m_fInterpolationSpeed |
| ref array< float > | m_aFOVs = new array<float> |
| int | m_iStepsCount = 1 |
| float | m_fCurrentFOV |
| Immediate field of view value. | |
| int | m_iCurrentIndex = 0 |
| Currently selected FOV or 0 (as base fov) if none. | |
| ref ScriptInvoker< float, float > | event_OnZoomChanged |
| return | event_OnZoomChanged |
Definition at line 6 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Definition at line 202 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Returns max field of view provided by this info. Assumes that first FOV is the largest one. Returns zero if FOVs array is empty.
Definition at line 184 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Definition at line 168 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Returns the number of available elements.
Definition at line 33 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Returns current field of view provided by this info.
Definition at line 93 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Returns currently selected element or -1 if none.
Definition at line 37 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Definition at line 154 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Definition at line 133 of file SCR_SightsZoomFOVInfo.c.
Definition at line 145 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Add new fov based on reticle range and zoom.
Definition at line 127 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Returns true when current FOV of the optic does not match the target FOV.
Definition at line 194 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Definition at line 51 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Called every frame when active to update current state.
| owner | Parent weapon entity. |
| sights | Parent sights component. |
| timeSlice | Delta of time since last update. |
Definition at line 72 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Definition at line 139 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Set provided element as the current one.
| index | Index of FOV element. |
Definition at line 44 of file SCR_SightsZoomFOVInfo.c.
|
inlineprotected |
Get array of each zoom based on min-max and steps in between.
Definition at line 100 of file SCR_SightsZoomFOVInfo.c.
|
protected |
Definition at line 217 of file SCR_SightsZoomFOVInfo.c.
|
protected |
Definition at line 29 of file SCR_SightsZoomFOVInfo.c.
Definition at line 20 of file SCR_SightsZoomFOVInfo.c.
|
protected |
Definition at line 9 of file SCR_SightsZoomFOVInfo.c.
|
protected |
Immediate field of view value.
Definition at line 24 of file SCR_SightsZoomFOVInfo.c.
|
protected |
Definition at line 18 of file SCR_SightsZoomFOVInfo.c.
|
protected |
Definition at line 15 of file SCR_SightsZoomFOVInfo.c.
|
protected |
Definition at line 12 of file SCR_SightsZoomFOVInfo.c.
|
protected |
Currently selected FOV or 0 (as base fov) if none.
Definition at line 27 of file SCR_SightsZoomFOVInfo.c.
|
protected |
Definition at line 21 of file SCR_SightsZoomFOVInfo.c.