Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
ScriptedSightsFOVInfo Class Reference
Inheritance diagram for ScriptedSightsFOVInfo:
SightsFOVInfo SCR_BaseVariableSightsFOVInfo SCR_FixedFOVInfo SCR_SightsZoomFOVInfo SCR_VariableSightsFOVInfo

Protected Member Functions

void OnInit (IEntity owner, BaseSightsComponent sights)
void OnUpdate (IEntity owner, BaseSightsComponent sights, float timeSlice)
float GetCurrentFOV ()

Detailed Description

Definition at line 7 of file ScriptedSightsFOVInfo.c.

Member Function Documentation

◆ GetCurrentFOV()

float ScriptedSightsFOVInfo::GetCurrentFOV ( )
inlineprotected

Return current field of view of this info. If 0 or less is returned, first person perspective FOV will be used instead. Value can be accessed via SightsFOVInfo.GetFOV();

Returns
Returns field of view in degrees.

Definition at line 28 of file ScriptedSightsFOVInfo.c.

◆ OnInit()

void ScriptedSightsFOVInfo::OnInit ( IEntity owner,
BaseSightsComponent sights )
protected

Called on initialization.

Parameters
ownerParent entity.
sightsParent sights component.

◆ OnUpdate()

void ScriptedSightsFOVInfo::OnUpdate ( IEntity owner,
BaseSightsComponent sights,
float timeSlice )
protected

Called every frame when active to update current state.

Parameters
ownerParent entity.
sightsParent sights component.
timeSliceDelta of time since last update.

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