![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| override int | GetCount () |
| override int | GetCurrentIndex () |
| override void | SetIndex (int index) |
| override void | OnInit (IEntity owner, BaseSightsComponent sights) |
| override void | OnUpdate (IEntity owner, BaseSightsComponent sights, float timeSlice) |
| override bool | IsAdjusting () |
| Returns true when current FOV of the optic does not match the target FOV. | |
| override float | GetCurrentFOV () |
| override float | GetBaseFOV () |
Protected Attributes | |
| ref array< float > | m_aFOVs |
| float | m_fInterpolationSpeed |
| float | m_fCurrentFOV = 60.0 |
| Immediate field of view value. | |
| int | m_iCurrentIndex = -1 |
| Currently selected FOV or -1 if none. | |
Definition at line 1 of file SCR_VariableSightsFOVInfo.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 104 of file SCR_VariableSightsFOVInfo.c.
|
inlineprotected |
Returns the number of available elements.
Definition at line 19 of file SCR_VariableSightsFOVInfo.c.
|
inlineprotected |
Returns current field of view provided by this info.
Definition at line 92 of file SCR_VariableSightsFOVInfo.c.
|
inlineprotected |
Returns currently selected element or -1 if none.
Definition at line 28 of file SCR_VariableSightsFOVInfo.c.
|
inlineprotected |
Returns true when current FOV of the optic does not match the target FOV.
Definition at line 79 of file SCR_VariableSightsFOVInfo.c.
|
inlineprotected |
Called on initialization.
| owner | Parent weapon entity. |
| sights | Parent sights component. |
Definition at line 49 of file SCR_VariableSightsFOVInfo.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 68 of file SCR_VariableSightsFOVInfo.c.
|
inlineprotected |
Set provided element as the current one.
| index | Index of FOV element. |
Definition at line 38 of file SCR_VariableSightsFOVInfo.c.
|
protected |
Definition at line 4 of file SCR_VariableSightsFOVInfo.c.
|
protected |
Immediate field of view value.
Definition at line 10 of file SCR_VariableSightsFOVInfo.c.
|
protected |
Definition at line 7 of file SCR_VariableSightsFOVInfo.c.
|
protected |
Currently selected FOV or -1 if none.
Definition at line 13 of file SCR_VariableSightsFOVInfo.c.