◆ WB_CalculateWeaponZeroingAnimationValue()
      
        
          | override float SCR_2DPiPScopeZeroingGenerator.WB_CalculateWeaponZeroingAnimationValue  | 
          ( | 
          float |           pitch,  | 
        
        
           | 
           | 
          float |           distance,  | 
        
        
           | 
           | 
          out vector |           offset,  | 
        
        
           | 
           | 
          out vector |           angles ) | 
        
      
 
Return the animation value for the sights animation. 
This usually outputs a value that makes the sight line up with the eye as close as possible. 
- Parameters
 - 
  
    | pitch | The angle at which the weapon is held.  | 
    | distance | The distance this zeroing data is calculated for  | 
    | offset | output Computed offset of the weapon to the eye position  | 
    | angles | output Computed angles for holding the weapon  | 
  
   
- Returns
 - a float value, usually between 0 and 1, representing the percentage to forward into the sights animation 
 
Implements ScriptedBaseZeroingGenerator.
 
 
◆ WB_GetZeroingData()
      
        
          | override bool SCR_2DPiPScopeZeroingGenerator.WB_GetZeroingData  | 
          ( | 
          float |           weaponAngle,  | 
        
        
           | 
           | 
          float |           distance,  | 
        
        
           | 
           | 
          out vector |           offset,  | 
        
        
           | 
           | 
          out vector |           angles ) | 
        
      
 
Called to obtain zeroing data for a given weapon angle. 
- Parameters
 - 
  
    | weaponAngle | Angle how the weapon should be held  | 
    | distance | The distance this zeroing data is calculated for  | 
    | offset | output Computed offset of the weapon to the eye position  | 
    | angles | output Computed angles for holding the weapon  | 
  
   
- Returns
 - true if the value could be computed, false otherwise. Returning false usually implies that something catastrophic is wrong (missing sight component, missing owner, etc) 
 
Implements ScriptedBaseZeroingGenerator.
 
 
◆ WB_InitGenerator()
      
        
          | override bool SCR_2DPiPScopeZeroingGenerator.WB_InitGenerator  | 
          ( | 
           | ) | 
           | 
        
      
 
Initialize the generator. 
- Returns
 - False if the initialization failed. This can be a misconfiguration of the prefab or any other reason 
 
Implements ScriptedBaseZeroingGenerator.
 
 
◆ m_fFovZoomed
  
  
      
        
          | float SCR_2DPiPScopeZeroingGenerator.m_fFovZoomed | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_SightsComponent
◆ m_sReferenceProjectile
  
  
      
        
          | ResourceName SCR_2DPiPScopeZeroingGenerator.m_sReferenceProjectile | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this interface was generated from the following file:
- Game/Weapon/Sights/ZeroingGenerators/SCR_2DPiPScopeZeroingGenerator.c