Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_2DPIPSightsComponent Interface Reference
Inheritance diagram for SCR_2DPIPSightsComponent:
[legend]

Public Member Functions

bool IsScreenPositionInSights (vector screenPosition)
 Returns whether screen position is in located within the sights radius.
 
SCR_PIPCamera GetPIPCamera ()
 Returns the camera used for picture in picture mode or null if none.
 
int GetPIPCameraIndex ()
 Returns the camera index used by this component when enabled.
 
override float GetADSActivationPercentageScript ()
 Called to get the ADS percentage when the sights go active.
 
override float GetADSDeactivationPercentageScript ()
 Called to get the ADS percentage when the sights go inactive.
 
bool IsPIPEnabled ()
 
float GetMainCameraFOV ()
 
float GetMainCameraOffset ()
 
void SetPIPEnabled (bool enabled)
 
void UpdateCamera (float timeSlice)
 
void UpdateHDR ()
 
void UpdateScopeMaterial ()
 
override bool CanFreelook ()
 
void SCR_2DPIPSightsComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
 Constructor.
 
void ~SCR_2DPIPSightsComponent ()
 Destructor.
 
- Public Member Functions inherited from SCR_2DSightsComponent
override void OnSightADSActivated ()
 Called every time the sight is activated.
 
override void OnSightADSDeactivated ()
 Called every time the sight is deactivated.
 
override bool CanFreelook ()
 
SCR_SightsZoomFOVInfo GetSightsFovInfo ()
 
- Public Member Functions inherited from SCR_2DOpticsComponent
override float GetADSActivationPercentageScript ()
 Called to get the ADS percentage when the sights go active.
 
override float GetADSDeactivationPercentageScript ()
 Called to get the ADS percentage when the sights go inactive.
 
float GetReticleOffsetX ()
 
void GetReticleTextures (out ResourceName reticleTexture, out ResourceName reticleTextureGlow, out ResourceName filterTexture)
 
void GetReticleData (out float reticleAngularSize, out float reticlePortion, out float reticleBaseZoom)
 
float GetObjectiveFov ()
 
float GetObjectiveScale ()
 
float GetVignetteScale ()
 
float GetMisalignmentDampingSpeed ()
 
float GetRotationScale ()
 
float GetRotationDampingSpeed ()
 
float GetMovementScale ()
 
float GetMovementDampingSpeed ()
 
float GetRollScale ()
 
float GetRollDampingSpeed ()
 
float GetMisalignmentScale ()
 
float GetVignetteMoveSpeed ()
 
float GetMotionBlurScale ()
 
float GetMotionBlurMax ()
 
SCR_EPIPZeroingType GetZeroType ()
 
float GetMagnification ()
 
bool GetIsOpticsHidden ()
 
ScriptInvokerVoid OnSetupOpticImage ()
 
ScriptInvokerBase< On2DOpticsIlluminationChange > OnIlluminationChange ()
 
float GetFovZoomed ()
 Get base FOV of the optic, used to determine maximum FOV.
 
void SetFovZoomed (float value)
 Set base FOV of the optic. Negative value means magnification to compute new m_fFovZoomed with.
 
float GetNearPlane ()
 
int GetAnimationActivationDelay ()
 
int GetAnimationDeactivationDelay ()
 
float GetAnimationEnterTime ()
 
float GetAnimationSpeedBlur ()
 
bool GetIsMoving ()
 
bool GetIsRotating ()
 
float GetScratchesRoll ()
 
override void OnInit (IEntity owner)
 Called during EOnInit.
 
override void OnSightADSActivated ()
 Called every time the sight is activated.
 
override void OnSightADSDeactivated ()
 Called every time the sight is deactivated.
 
bool IsMoveCloseToLimit (vector move, float limitMin)
 Return true if move X a Y is below limit.
 
vector GetMisalignmentAngles (notnull CameraBase camera)
 Get sight angles in camera space !
 
vector GetRotation (out vector previousDir, float timeSlice)
 
vector GetMovement (out vector previousPos, float timeSlice)
 
bool HasIllumination ()
 
Color GetReticleColor ()
 
Color GetReticleOutlineColor ()
 
Color GetReticleIlluminationColor ()
 
float GetCurrentReticleOffsetY ()
 
float GetCurrentCameraPitchOffset ()
 
vector GetCameraOffset ()
 
vector GetCameraAngles ()
 
IEntity GetCameraLocalTransform (out vector matrix[4])
 Return actual parent (weapon) with calculated transformation in relation to it.
 
void SetObjectiveFov (float objectiveFov)
 
void SetObjectiveScale (float objectiveScale)
 
void SetReticleBaseZoom (float reticleBaseZoom)
 
void SetReticleAngularSize (float reticleAngularSize)
 
void SetReticlePortion (float reticlePortion)
 
void SetReticleOffsetX (float reticleOffsetX)
 
void SetReticleOffsetY (float reticleOffsetY)
 
void OnInit (IEntity owner)
 Called during EOnInit.
 
void OnSightADSActivated ()
 Called every time the sight is activated.
 
void OnSightADSPostFrame (IEntity owner, float timeSlice)
 Called on post-frame as long as sights ADS is active.
 
void OnSightADSDeactivated ()
 Called every time the sight is deactivated.
 
float GetADSActivationPercentageScript ()
 Called to get the ADS percentage when the sights go active.
 
float GetADSDeactivationPercentageScript ()
 Called to get the ADS percentage when the sights go inactive.
 
- Public Member Functions inherited from SightsComponent
void ApplyRecoilToCamera (inout vector pOutCameraTransform[4], vector aimModAngles)
 Applies the given recoil angles to the camera transform according to the type of sight By default this method is empty.
 
bool CanFreelook ()
 
bool GetDOFRelatedPrefabData (out int opticDOFDistanceScale=-1, out bool forceSimpleDOF=false)
 Used by SCR_DepthOfFieldEffect to scale the DOF based on each particular ironsight-distance.
 
- Public Member Functions inherited from BaseSightsComponent
proto external IEntity GetOwner ()
 
proto external void ForceSightsZeroValue (vector offset, vector angles, vector turnOffset)
 Allow to override Zeroing via aim modifier (only works in Workbench)
 
proto external void ForceSightsZeroValueEnablel (bool bOnOff)
 Disable forced zeroing data.
 
proto external bool IsSightADSActive ()
 
proto external float GetADSActivationPercentage ()
 
proto external float GetADSDeactivationPercentage ()
 
proto external bool AreSightsValid (bool front=true, bool rear=true)
 
proto external vector GetSightsRearPosition (bool localSpace=false)
 Returns additional sights position used for calculating zeroing A vector is calculated from start position to end position and used as direction for calculating zeroing offsets Start position should be the one closer to eye position than end position.
 
proto external vector GetSightsFrontPosition (bool localSpace=false)
 Returns additional sights position used for calculating zeroing A vector is calculated from start position to end position and used as direction for calculating zeroing offsets End position should be the one further from eye position than start position.
 
proto external vector GetSightsDirection (bool localSpace=false, bool normalize=true)
 Returns a direction vector from the rear sight position to the front sight position A vector is calculated from the rear sight to the front sight in such a way that GetSightsRearPosition() + GetSightsDirection() == GetSightsFrontPosition()
 
proto external vector GetSightsDirectionUntransformed (bool localSpace=false, bool normalize=true)
 Like GetSightsDirection, but ignores and bones associated with the sight points.
 
proto external vector GetSightsOffset ()
 Returns the local sights reference point offset.
 
proto external bool GetSightsTransform (out vector transform[4], bool localSpace=false)
 Returns the transform matrix of the local sights.
 
proto external float GetFOV ()
 Returns current value of field of view.
 
proto external vector GetCurrentSightsRange ()
 Returns current range info value where x: animation value y: distance z: unused.
 
proto external SightsFOVInfo GetFOVInfo ()
 Returns currently selected sights FOV info or null if none.
 
proto external float GetCameraRecoilAmount ()
 Percentage 0...1 of recoil that should be applied to camera when using this sights component.
 
proto external bool GetSightsPriority ()
 Boolean indicating whether this sight component is prioritized.
 
proto external bool GetSightsSkipSwitch ()
 Return true if the sights can be switched to.
 
proto external void SetSightsVisibility (float visFactor)
 Hide parts of the sight on ADS. 0 means completely visible, 1 means completely hidden.
 
proto external PointInfo GetPositionPointInfo ()
 
proto external PointInfo GetRearPositionPointInfo ()
 
proto external PointInfo GetFrontPositionPointInfo ()
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Static Public Member Functions

static bool IsPIPActive ()
 Returns true if any sights PIP is active.
 
- Static Public Member Functions inherited from SCR_2DOpticsComponent
static float CalculateZoomFOV (float magnification)
 Return camera FOV for given magnification. Focus FOV is used as reference 1x magnification.
 
- Static Public Member Functions inherited from SightsComponent
static ZeroingGeneratedData CalculateDataWithParent (BaseSightsComponent sights, IEntity owner, IEntity parent, float desiredAngle)
 Takes front sights position as the anchor around which it rotates both the owner and the parent under desiredAngle (or rather negative desired angle, as we are pivoting around our target) and calculates new transformation that needs to be applied to reach desired angle.
 

Public Attributes

Material m_pMaterial
 
int m_iVignetteCenterXIndex = -1
 
int m_iVignetteCenterYIndex = -1
 
int m_iVignettePowerIndex = -1
 
int m_iLensDistortIndex = -1
 
int m_iReticleOffsetXIndex = -1
 
int m_iReticleOffsetYIndex = -1
 
int m_iReticleColorIndex = -1
 
int m_iReticleScaleIndex = -1
 
int m_iEdgeMinIndex = -1
 
int m_iEdgeMaxIndex = -1
 
int m_iEdgeCenterXIndex = -1
 
int m_iEdgeCenterYIndex = -1
 

Protected Member Functions

float GetFocusFOV ()
 
bool IsLocalControlledEntity (IEntity pEntity, bool checkHierarchy=true)
 
CameraBase CreateCamera (IEntity parent, vector position, vector angles, int cameraIndex, float fov, float nearPlane, float farPlane)
 
Widget CreateUI (string layout, string rtTextureName, string rtName, out RTTextureWidget RTTexture, out RenderTargetWidget RTWidget)
 
void DestroyCamera (CameraBase camera)
 
void Destroy ()
 
override void EnableReticleIllumination (bool enable)
 Toggle between illumination modes.
 
override void HandleSightActivation ()
 
override void HandleSightDeactivation ()
 
override void OnSightADSPostFrame (IEntity owner, float timeSlice)
 Called on post-frame as long as sights ADS is active.
 
override void OnInit (IEntity owner)
 Called during EOnInit.
 
override void ApplyRecoilToCamera (inout vector pOutCameraTransform[4], vector aimModAngles)
 Applies the given recoil angles to the camera transform according to the type of sight By default this method is empty.
 
override void _WB_AfterWorldUpdate (IEntity owner, float timeSlice)
 
- Protected Member Functions inherited from SCR_2DSightsComponent
void RegisterInputs ()
 
void UnregisterInputs ()
 
override void HandleSightActivation ()
 
override void HandleSightDeactivation ()
 
override void ApplyRecoilToCamera (inout vector pOutCameraTransform[4], vector aimModAngles)
 Applies the given recoil angles to the camera transform according to the type of sight By default this method is empty.
 
void SetupFovInfo ()
 
void SelectZoomLevel (int id)
 Switch betweem zoom levels from sights.
 
void ActionZoomIn (float value=0.0, EActionTrigger reason=0)
 Move zoom level up and down based on mouse wheel value.
 
void ActionZoomOut (float value=0.0, EActionTrigger reason=0)
 Move zoom level up and down based on mouse wheel value.
 
void AdjustZoom (float value)
 Move zoom level up and down based on mouse wheel value.
 
void ToggleIllumination (float value, EActionTrigger trigger)
 Action for toggling illumination.
 
override float GetReticleOffsetYTarget ()
 
- Protected Member Functions inherited from SCR_2DOpticsComponent
void HandleSightActivation ()
 
void HandleSightDeactivation ()
 
override void OnSightADSPostFrame (IEntity owner, float timeSlice)
 Called on post-frame as long as sights ADS is active.
 
void HideObjects ()
 Hides objects to prevent clipping when entering ADS.
 
vector GetSightsRelPosition ()
 
void EnableReticleIllumination (bool enable)
 Toggle between illumination modes.
 
float GetReticleOffsetYTarget ()
 
float GetCameraPitchTarget ()
 
- Protected Member Functions inherited from SightsComponent
override bool WB_GetZeroingData (IEntity owner, BaseSightsComponent sights, float weaponAngle, out vector offset, out vector angles)
 Positive weapon angle tilts weapon upwards (muzzle goes up, stock goes down) Negative weapon angle tilts weapon downwards (muzzle goes down, stock goes up) Called from GameCode, do not remove!
 
bool FindParent (IEntity owner, string eyeBoneName, out IEntity parentWeapon, out int boneIndex)
 
bool WB_GetZeroingData (IEntity owner, BaseSightsComponent sights, float weaponAngle, out vector offset, out vector angles)
 Positive weapon angle tilts weapon upwards (muzzle goes up, stock goes down) Negative weapon angle tilts weapon downwards (muzzle goes down, stock goes up) Called from GameCode, do not remove!
 

Protected Attributes

bool m_b2DIsEnabled
 Is this 2D currently enabled?
 
ResourceName m_sPIPLayoutResource
 
string m_sRTTextureWidgetName
 
string m_sRTargetWidgetName
 
int m_iCameraIndex
 
int m_iGuiIndex
 
float m_fMainCameraFOV
 
float m_fNearPlane
 
float m_fFarPlane
 
float m_fResolutionScale
 
ResourceName m_rScopeHDRMatrial
 
float m_fADSActivationPercentagePIP
 
float m_fADSDeactivationPercentagePIP
 
float m_fVignetteParallaxScale
 
float m_fCenterDistance
 
float m_fDistanceMoveNear
 
float m_fDistanceMoveFar
 
float m_fBasicParallax
 
float m_fMaxParallax
 
float m_fCenterOffsetX
 
float m_fCenterOffsetY
 
float m_fScopeRadius
 
float m_fReticlePIPScale
 
float m_fMainCameraOffsetUnfocused
 
float m_fObjectivePIPEdgeMin
 
float m_fObjectivePIPEdgeMax
 
ResourceName m_sUnderwaterPPMaterial
 
int m_iLastProjectionFrame = -1
 
vector m_vScreenScopeCenter
 
float m_fScreenScopeRadiusSq
 
float m_fReticleScale
 
float m_fEdgeScale = 1
 
float m_fParallaxX
 
float m_fParallaxY
 
IEntity m_ControlledEntity
 
ref Color m_cReticleColor = m_ReticleColor
 Current PIP reticle color.
 
ref Widget m_wPIPRoot
 The root layout hierarchy widget for PIP.
 
bool m_bPIPIsEnabled
 Is PIP currently enabled?
 
RTTextureWidget m_wRenderTargetTextureWidget
 The render target texture found within our layout.
 
RenderTargetWidget m_wRenderTargetWidget
 The render target found within our layout.
 
SCR_PIPCamera m_PIPCamera
 The camera to be used by this pip component.
 
- Protected Attributes inherited from SCR_2DSightsComponent
bool m_bShouldHideParentParentObject
 
SCR_SightsZoomFOVInfo m_SightsFovInfo
 
- Protected Attributes inherited from SCR_2DOpticsComponent
ResourceName m_sReticleTexture
 
ResourceName m_sReticleGlowTexture
 
bool m_bHasIllumination
 
ref Color m_ReticleColor
 
ref Color m_ReticleOutlineColor
 
ref Color m_cReticleTextureIllumination
 
float m_fReticleTextureGlowAlpha
 
ResourceName m_sFilterTexture
 
float m_fMagnification
 
float m_fReticleAngularSize
 
float m_fReticlePortion
 
float m_fReticleBaseZoom
 
float m_fObjectiveFov
 
float m_fObjectiveScale
 
float m_fVignetteScale
 
bool m_bShouldHideParentObject
 
bool m_bShouldHideParentCharacter
 
int m_iAnimationActivationDelay
 
int m_iAnimationDeactivationDelay
 
float m_fAnimationEnterTime
 
float m_fAnimationSpeedBlur
 
float m_fMisalignmentDampingSpeed
 
float m_fRotationScale
 
float m_fRotationDampingSpeed
 
float m_fMovementScale
 
float m_fMovementDampingSpeed
 
float m_fRollScale
 
float m_fRollDampingSpeed
 
float m_fMisalignmentScale
 
float m_fVignetteMoveSpeed
 
float m_fMotionBlurScale
 
float m_fMotionBlurMax
 
float m_fADSActivationPercentage
 
float m_fADSDeactivationPercentage
 
SCR_EPIPZeroingType m_eZeroingType
 
float m_fReticleOffsetX
 
float m_fReticleOffsetY
 
float m_fReticleOffsetInterpSpeed
 
vector m_vCameraOffset
 
vector m_vCameraAngles
 
float m_fCurrentReticleOffsetY
 
float m_fCurrentCameraPitch
 
int m_iSelectedZoomLevel
 
float m_fScratchesRoll
 
float m_fFovZoomed
 
float m_fDefaultSize
 
float m_fNearPlaneCurrent
 
bool m_bIsMoving
 
bool m_bIsRotating
 
bool m_bWasEntityHidden
 
int m_iHeadBoneId = -1
 
bool m_bIsOpticsHidden
 
bool m_bIsIlluminationOn
 
ChimeraCharacter m_ParentCharacter
 
ref ScriptInvokerVoid s_OnSetupOpticImage = new ScriptInvokerVoid()
 
ref ScriptInvokerBase< On2DOpticsIlluminationChange > s_OnIlluminationChange = new ScriptInvokerBase<On2DOpticsIlluminationChange>()
 

Static Protected Attributes

static int s_bIsPIPActive
 

Additional Inherited Members

- Static Public Attributes inherited from SCR_2DOpticsComponent
const string ACTION_ZOOM_IN = "WeaponOpticsZoomIn"
 
const string ACTION_ZOOM_OUT = "WeaponOpticsZoomOut"
 
const string ACTION_ILLUMINATION = "WeaponToggleSightsIllumination"
 
const float REFERENCE_FOV = 28
 
const float OPACITY_INITIAL = 0.75
 
const float NEAR_PLANE_DEFAULT = 0.05
 
const float NEAR_PLANE_ZOOMED = 0.05
 
static ref ScriptInvokerBase< OnSightsADSChanged > s_OnSightsADSChanged = new ScriptInvokerBase<OnSightsADSChanged>()
 
static ref ScriptInvokerBase< On2DOpticsADSChange > s_On2DOpticADSChanged = new ScriptInvokerBase<On2DOpticsADSChange>()
 
- Static Public Attributes inherited from SightsComponent
const string EYE_BONE = "eye"
 

Constructor & Destructor Documentation

◆ SCR_2DPIPSightsComponent()

void SCR_2DPIPSightsComponent.SCR_2DPIPSightsComponent ( IEntityComponentSource  src,
IEntity  ent,
IEntity  parent 
)

Constructor.

◆ ~SCR_2DPIPSightsComponent()

void SCR_2DPIPSightsComponent.~SCR_2DPIPSightsComponent ( )

Destructor.

Member Function Documentation

◆ _WB_AfterWorldUpdate()

override void SCR_2DPIPSightsComponent._WB_AfterWorldUpdate ( IEntity  owner,
float  timeSlice 
)
protected

◆ ApplyRecoilToCamera()

override void SCR_2DPIPSightsComponent.ApplyRecoilToCamera ( inout vector  pOutCameraTransform[4],
vector  aimModAngles 
)
protected

Applies the given recoil angles to the camera transform according to the type of sight By default this method is empty.

It should be overridden by each sight to make the appropriate adjustments

Implements SCR_2DSightsComponent.

◆ CanFreelook()

override bool SCR_2DPIPSightsComponent.CanFreelook ( )

Implements SCR_2DSightsComponent.

◆ CreateCamera()

CameraBase SCR_2DPIPSightsComponent.CreateCamera ( IEntity  parent,
vector  position,
vector  angles,
int  cameraIndex,
float  fov,
float  nearPlane,
float  farPlane 
)
protected
Parameters
parentParent entity this camera should be attached to
positionLocal offset from parent entity
cameraIndexThe index created camera should use, 0-31
fovThe field of view of camera 0-89
nearPlaneNear clipping plane of the camera in metres
farPlaneFar clipping plane of the camera in metres

◆ CreateUI()

Widget SCR_2DPIPSightsComponent.CreateUI ( string  layout,
string  rtTextureName,
string  rtName,
out RTTextureWidget  RTTexture,
out RenderTargetWidget  RTWidget 
)
protected

◆ Destroy()

void SCR_2DPIPSightsComponent.Destroy ( )
protected

◆ DestroyCamera()

void SCR_2DPIPSightsComponent.DestroyCamera ( CameraBase  camera)
protected

◆ EnableReticleIllumination()

override void SCR_2DPIPSightsComponent.EnableReticleIllumination ( bool  enable)
protected

Toggle between illumination modes.

Implements SCR_2DOpticsComponent.

◆ GetADSActivationPercentageScript()

override float SCR_2DPIPSightsComponent.GetADSActivationPercentageScript ( )

Called to get the ADS percentage when the sights go active.

Implements SCR_2DOpticsComponent.

◆ GetADSDeactivationPercentageScript()

override float SCR_2DPIPSightsComponent.GetADSDeactivationPercentageScript ( )

Called to get the ADS percentage when the sights go inactive.

Implements SCR_2DOpticsComponent.

◆ GetFocusFOV()

float SCR_2DPIPSightsComponent.GetFocusFOV ( )
protected

◆ GetMainCameraFOV()

float SCR_2DPIPSightsComponent.GetMainCameraFOV ( )

◆ GetMainCameraOffset()

float SCR_2DPIPSightsComponent.GetMainCameraOffset ( )

◆ GetPIPCamera()

SCR_PIPCamera SCR_2DPIPSightsComponent.GetPIPCamera ( )

Returns the camera used for picture in picture mode or null if none.

◆ GetPIPCameraIndex()

int SCR_2DPIPSightsComponent.GetPIPCameraIndex ( )

Returns the camera index used by this component when enabled.

◆ HandleSightActivation()

override void SCR_2DPIPSightsComponent.HandleSightActivation ( )
protected

Implements SCR_2DSightsComponent.

◆ HandleSightDeactivation()

override void SCR_2DPIPSightsComponent.HandleSightDeactivation ( )
protected

Implements SCR_2DSightsComponent.

◆ IsLocalControlledEntity()

bool SCR_2DPIPSightsComponent.IsLocalControlledEntity ( IEntity  pEntity,
bool  checkHierarchy = true 
)
protected

◆ IsPIPActive()

static bool SCR_2DPIPSightsComponent.IsPIPActive ( )
static

Returns true if any sights PIP is active.

◆ IsPIPEnabled()

bool SCR_2DPIPSightsComponent.IsPIPEnabled ( )

◆ IsScreenPositionInSights()

bool SCR_2DPIPSightsComponent.IsScreenPositionInSights ( vector  screenPosition)

Returns whether screen position is in located within the sights radius.

Parameters
screenPositionPoint on screen
Returns
Returns true if point is in picture in picture sights, false otherwise.

◆ OnInit()

override void SCR_2DPIPSightsComponent.OnInit ( IEntity  owner)
protected

Called during EOnInit.

Parameters
ownerEntity this component is attached to.

Implements SCR_2DOpticsComponent.

◆ OnSightADSPostFrame()

override void SCR_2DPIPSightsComponent.OnSightADSPostFrame ( IEntity  owner,
float  timeSlice 
)
protected

Called on post-frame as long as sights ADS is active.

Parameters
ownerEntity this component is attached to.
timeSliceDelta time since last update.

Implements SCR_2DOpticsComponent.

◆ SetPIPEnabled()

void SCR_2DPIPSightsComponent.SetPIPEnabled ( bool  enabled)

◆ UpdateCamera()

void SCR_2DPIPSightsComponent.UpdateCamera ( float  timeSlice)

◆ UpdateHDR()

void SCR_2DPIPSightsComponent.UpdateHDR ( )

◆ UpdateScopeMaterial()

void SCR_2DPIPSightsComponent.UpdateScopeMaterial ( )

Member Data Documentation

◆ m_b2DIsEnabled

bool SCR_2DPIPSightsComponent.m_b2DIsEnabled
protected

Is this 2D currently enabled?

◆ m_bPIPIsEnabled

bool SCR_2DPIPSightsComponent.m_bPIPIsEnabled
protected

Is PIP currently enabled?

◆ m_ControlledEntity

IEntity SCR_2DPIPSightsComponent.m_ControlledEntity
protected

◆ m_cReticleColor

ref Color SCR_2DPIPSightsComponent.m_cReticleColor = m_ReticleColor
protected

Current PIP reticle color.

◆ m_fADSActivationPercentagePIP

float SCR_2DPIPSightsComponent.m_fADSActivationPercentagePIP
protected

◆ m_fADSDeactivationPercentagePIP

float SCR_2DPIPSightsComponent.m_fADSDeactivationPercentagePIP
protected

◆ m_fBasicParallax

float SCR_2DPIPSightsComponent.m_fBasicParallax
protected

◆ m_fCenterDistance

float SCR_2DPIPSightsComponent.m_fCenterDistance
protected

◆ m_fCenterOffsetX

float SCR_2DPIPSightsComponent.m_fCenterOffsetX
protected

◆ m_fCenterOffsetY

float SCR_2DPIPSightsComponent.m_fCenterOffsetY
protected

◆ m_fDistanceMoveFar

float SCR_2DPIPSightsComponent.m_fDistanceMoveFar
protected

◆ m_fDistanceMoveNear

float SCR_2DPIPSightsComponent.m_fDistanceMoveNear
protected

◆ m_fEdgeScale

float SCR_2DPIPSightsComponent.m_fEdgeScale = 1
protected

◆ m_fFarPlane

float SCR_2DPIPSightsComponent.m_fFarPlane
protected

◆ m_fMainCameraFOV

float SCR_2DPIPSightsComponent.m_fMainCameraFOV
protected

◆ m_fMainCameraOffsetUnfocused

float SCR_2DPIPSightsComponent.m_fMainCameraOffsetUnfocused
protected

◆ m_fMaxParallax

float SCR_2DPIPSightsComponent.m_fMaxParallax
protected

◆ m_fNearPlane

float SCR_2DPIPSightsComponent.m_fNearPlane
protected

◆ m_fObjectivePIPEdgeMax

float SCR_2DPIPSightsComponent.m_fObjectivePIPEdgeMax
protected

◆ m_fObjectivePIPEdgeMin

float SCR_2DPIPSightsComponent.m_fObjectivePIPEdgeMin
protected

◆ m_fParallaxX

float SCR_2DPIPSightsComponent.m_fParallaxX
protected

◆ m_fParallaxY

float SCR_2DPIPSightsComponent.m_fParallaxY
protected

◆ m_fResolutionScale

float SCR_2DPIPSightsComponent.m_fResolutionScale
protected

◆ m_fReticlePIPScale

float SCR_2DPIPSightsComponent.m_fReticlePIPScale
protected

◆ m_fReticleScale

float SCR_2DPIPSightsComponent.m_fReticleScale
protected

◆ m_fScopeRadius

float SCR_2DPIPSightsComponent.m_fScopeRadius
protected

◆ m_fScreenScopeRadiusSq

float SCR_2DPIPSightsComponent.m_fScreenScopeRadiusSq
protected

◆ m_fVignetteParallaxScale

float SCR_2DPIPSightsComponent.m_fVignetteParallaxScale
protected

◆ m_iCameraIndex

int SCR_2DPIPSightsComponent.m_iCameraIndex
protected

◆ m_iEdgeCenterXIndex

int SCR_2DPIPSightsComponent.m_iEdgeCenterXIndex = -1

◆ m_iEdgeCenterYIndex

int SCR_2DPIPSightsComponent.m_iEdgeCenterYIndex = -1

◆ m_iEdgeMaxIndex

int SCR_2DPIPSightsComponent.m_iEdgeMaxIndex = -1

◆ m_iEdgeMinIndex

int SCR_2DPIPSightsComponent.m_iEdgeMinIndex = -1

◆ m_iGuiIndex

int SCR_2DPIPSightsComponent.m_iGuiIndex
protected

◆ m_iLastProjectionFrame

int SCR_2DPIPSightsComponent.m_iLastProjectionFrame = -1
protected

◆ m_iLensDistortIndex

int SCR_2DPIPSightsComponent.m_iLensDistortIndex = -1

◆ m_iReticleColorIndex

int SCR_2DPIPSightsComponent.m_iReticleColorIndex = -1

◆ m_iReticleOffsetXIndex

int SCR_2DPIPSightsComponent.m_iReticleOffsetXIndex = -1

◆ m_iReticleOffsetYIndex

int SCR_2DPIPSightsComponent.m_iReticleOffsetYIndex = -1

◆ m_iReticleScaleIndex

int SCR_2DPIPSightsComponent.m_iReticleScaleIndex = -1

◆ m_iVignetteCenterXIndex

int SCR_2DPIPSightsComponent.m_iVignetteCenterXIndex = -1

◆ m_iVignetteCenterYIndex

int SCR_2DPIPSightsComponent.m_iVignetteCenterYIndex = -1

◆ m_iVignettePowerIndex

int SCR_2DPIPSightsComponent.m_iVignettePowerIndex = -1

◆ m_PIPCamera

SCR_PIPCamera SCR_2DPIPSightsComponent.m_PIPCamera
protected

The camera to be used by this pip component.

◆ m_pMaterial

Material SCR_2DPIPSightsComponent.m_pMaterial

◆ m_rScopeHDRMatrial

ResourceName SCR_2DPIPSightsComponent.m_rScopeHDRMatrial
protected

◆ m_sPIPLayoutResource

ResourceName SCR_2DPIPSightsComponent.m_sPIPLayoutResource
protected

◆ m_sRTargetWidgetName

string SCR_2DPIPSightsComponent.m_sRTargetWidgetName
protected

◆ m_sRTTextureWidgetName

string SCR_2DPIPSightsComponent.m_sRTTextureWidgetName
protected

◆ m_sUnderwaterPPMaterial

ResourceName SCR_2DPIPSightsComponent.m_sUnderwaterPPMaterial
protected

◆ m_vScreenScopeCenter

vector SCR_2DPIPSightsComponent.m_vScreenScopeCenter
protected

◆ m_wPIPRoot

ref Widget SCR_2DPIPSightsComponent.m_wPIPRoot
protected

The root layout hierarchy widget for PIP.

◆ m_wRenderTargetTextureWidget

RTTextureWidget SCR_2DPIPSightsComponent.m_wRenderTargetTextureWidget
protected

The render target texture found within our layout.

◆ m_wRenderTargetWidget

RenderTargetWidget SCR_2DPIPSightsComponent.m_wRenderTargetWidget
protected

The render target found within our layout.

◆ s_bIsPIPActive

int SCR_2DPIPSightsComponent.s_bIsPIPActive
staticprotected

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