Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SCR_2DOpticsComponent Interface Reference

Base class for 2D optics Unifiying binoculars and optic sight. More...

Inheritance diagram for SCR_2DOpticsComponent:
[legend]

Public Member Functions

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 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.
 

Static Public Attributes

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"
 

Protected Member Functions

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

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
 
vector m_vCameraMisalignmentScale
 
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>()
 

Detailed Description

Base class for 2D optics Unifiying binoculars and optic sight.

Member Function Documentation

◆ CalculateZoomFOV()

static float SCR_2DOpticsComponent.CalculateZoomFOV ( float  magnification)
static

Return camera FOV for given magnification. Focus FOV is used as reference 1x magnification.

◆ EnableReticleIllumination()

void SCR_2DOpticsComponent.EnableReticleIllumination ( bool  enable)
protected

Toggle between illumination modes.

Implemented in SCR_2DPIPSightsComponent.

◆ GetADSActivationPercentageScript()

override float SCR_2DOpticsComponent.GetADSActivationPercentageScript ( )

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

Implements ScriptedSightsComponent.

Implemented in SCR_2DPIPSightsComponent.

◆ GetADSDeactivationPercentageScript()

override float SCR_2DOpticsComponent.GetADSDeactivationPercentageScript ( )

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

Implements ScriptedSightsComponent.

Implemented in SCR_2DPIPSightsComponent.

◆ GetAnimationActivationDelay()

int SCR_2DOpticsComponent.GetAnimationActivationDelay ( )

◆ GetAnimationDeactivationDelay()

int SCR_2DOpticsComponent.GetAnimationDeactivationDelay ( )

◆ GetAnimationEnterTime()

float SCR_2DOpticsComponent.GetAnimationEnterTime ( )

◆ GetAnimationSpeedBlur()

float SCR_2DOpticsComponent.GetAnimationSpeedBlur ( )

◆ GetCameraAngles()

vector SCR_2DOpticsComponent.GetCameraAngles ( )

◆ GetCameraLocalTransform()

IEntity SCR_2DOpticsComponent.GetCameraLocalTransform ( out vector  matrix[4])

Return actual parent (weapon) with calculated transformation in relation to it.

Parameters
matrixOut rotation in relation to new parent
Returns
Returns new parent to use, usually the weapon

These multiplications will run even if we have no weapon, but it shouldn't be that big of a deal for now, weapon should exist regardless

◆ GetCameraOffset()

vector SCR_2DOpticsComponent.GetCameraOffset ( )

◆ GetCameraPitchTarget()

float SCR_2DOpticsComponent.GetCameraPitchTarget ( )
protected

◆ GetCurrentCameraPitchOffset()

float SCR_2DOpticsComponent.GetCurrentCameraPitchOffset ( )

◆ GetCurrentReticleOffsetY()

float SCR_2DOpticsComponent.GetCurrentReticleOffsetY ( )

◆ GetFovZoomed()

float SCR_2DOpticsComponent.GetFovZoomed ( )

Get base FOV of the optic, used to determine maximum FOV.

◆ GetIsMoving()

bool SCR_2DOpticsComponent.GetIsMoving ( )

◆ GetIsOpticsHidden()

bool SCR_2DOpticsComponent.GetIsOpticsHidden ( )

◆ GetIsRotating()

bool SCR_2DOpticsComponent.GetIsRotating ( )

◆ GetMagnification()

float SCR_2DOpticsComponent.GetMagnification ( )

◆ GetMisalignmentAngles()

vector SCR_2DOpticsComponent.GetMisalignmentAngles ( notnull CameraBase  camera)

Get sight angles in camera space !

Parameters
cameraentity to get misalignment against !
Returns
angles sight yaw, pitch and roll in camera space

◆ GetMisalignmentDampingSpeed()

float SCR_2DOpticsComponent.GetMisalignmentDampingSpeed ( )

◆ GetMisalignmentScale()

float SCR_2DOpticsComponent.GetMisalignmentScale ( )

◆ GetMotionBlurMax()

float SCR_2DOpticsComponent.GetMotionBlurMax ( )

◆ GetMotionBlurScale()

float SCR_2DOpticsComponent.GetMotionBlurScale ( )

◆ GetMovement()

vector SCR_2DOpticsComponent.GetMovement ( out vector  previousPos,
float  timeSlice 
)

◆ GetMovementDampingSpeed()

float SCR_2DOpticsComponent.GetMovementDampingSpeed ( )

◆ GetMovementScale()

float SCR_2DOpticsComponent.GetMovementScale ( )

◆ GetNearPlane()

float SCR_2DOpticsComponent.GetNearPlane ( )

◆ GetObjectiveFov()

float SCR_2DOpticsComponent.GetObjectiveFov ( )

◆ GetObjectiveScale()

float SCR_2DOpticsComponent.GetObjectiveScale ( )

◆ GetReticleColor()

Color SCR_2DOpticsComponent.GetReticleColor ( )

◆ GetReticleData()

void SCR_2DOpticsComponent.GetReticleData ( out float  reticleAngularSize,
out float  reticlePortion,
out float  reticleBaseZoom 
)

◆ GetReticleIlluminationColor()

Color SCR_2DOpticsComponent.GetReticleIlluminationColor ( )

◆ GetReticleOffsetX()

float SCR_2DOpticsComponent.GetReticleOffsetX ( )

◆ GetReticleOffsetYTarget()

float SCR_2DOpticsComponent.GetReticleOffsetYTarget ( )
protected

Implemented in SCR_2DSightsComponent.

◆ GetReticleOutlineColor()

Color SCR_2DOpticsComponent.GetReticleOutlineColor ( )

◆ GetReticleTextures()

void SCR_2DOpticsComponent.GetReticleTextures ( out ResourceName  reticleTexture,
out ResourceName  reticleTextureGlow,
out ResourceName  filterTexture 
)

◆ GetRollDampingSpeed()

float SCR_2DOpticsComponent.GetRollDampingSpeed ( )

◆ GetRollScale()

float SCR_2DOpticsComponent.GetRollScale ( )

◆ GetRotation()

vector SCR_2DOpticsComponent.GetRotation ( out vector  previousDir,
float  timeSlice 
)

◆ GetRotationDampingSpeed()

float SCR_2DOpticsComponent.GetRotationDampingSpeed ( )

◆ GetRotationScale()

float SCR_2DOpticsComponent.GetRotationScale ( )

◆ GetScratchesRoll()

float SCR_2DOpticsComponent.GetScratchesRoll ( )

◆ GetSightsRelPosition()

vector SCR_2DOpticsComponent.GetSightsRelPosition ( )
protected

◆ GetVignetteMoveSpeed()

float SCR_2DOpticsComponent.GetVignetteMoveSpeed ( )

◆ GetVignetteScale()

float SCR_2DOpticsComponent.GetVignetteScale ( )

◆ GetZeroType()

SCR_EPIPZeroingType SCR_2DOpticsComponent.GetZeroType ( )

◆ HandleSightActivation()

void SCR_2DOpticsComponent.HandleSightActivation ( )
protected

◆ HandleSightDeactivation()

void SCR_2DOpticsComponent.HandleSightDeactivation ( )
protected

◆ HasIllumination()

bool SCR_2DOpticsComponent.HasIllumination ( )

◆ HideObjects()

void SCR_2DOpticsComponent.HideObjects ( )
protected

Hides objects to prevent clipping when entering ADS.

◆ IsMoveCloseToLimit()

bool SCR_2DOpticsComponent.IsMoveCloseToLimit ( vector  move,
float  limitMin 
)

Return true if move X a Y is below limit.

◆ OnIlluminationChange()

ScriptInvokerBase< On2DOpticsIlluminationChange > SCR_2DOpticsComponent.OnIlluminationChange ( )

◆ OnInit()

override void SCR_2DOpticsComponent.OnInit ( IEntity  owner)

Called during EOnInit.

Parameters
ownerEntity this component is attached to.

Implements ScriptedSightsComponent.

Implemented in SCR_2DPIPSightsComponent.

◆ OnSetupOpticImage()

ScriptInvokerVoid SCR_2DOpticsComponent.OnSetupOpticImage ( )

◆ OnSightADSActivated()

override void SCR_2DOpticsComponent.OnSightADSActivated ( )

Called every time the sight is activated.

Implements ScriptedSightsComponent.

Implemented in SCR_2DSightsComponent.

◆ OnSightADSDeactivated()

override void SCR_2DOpticsComponent.OnSightADSDeactivated ( )

Called every time the sight is deactivated.

Implements ScriptedSightsComponent.

Implemented in SCR_2DSightsComponent.

◆ OnSightADSPostFrame()

override void SCR_2DOpticsComponent.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 ScriptedSightsComponent.

Implemented in SCR_2DPIPSightsComponent.

◆ SetFovZoomed()

void SCR_2DOpticsComponent.SetFovZoomed ( float  value)

Set base FOV of the optic. Negative value means magnification to compute new m_fFovZoomed with.

◆ SetObjectiveFov()

void SCR_2DOpticsComponent.SetObjectiveFov ( float  objectiveFov)

◆ SetObjectiveScale()

void SCR_2DOpticsComponent.SetObjectiveScale ( float  objectiveScale)

◆ SetReticleAngularSize()

void SCR_2DOpticsComponent.SetReticleAngularSize ( float  reticleAngularSize)

◆ SetReticleBaseZoom()

void SCR_2DOpticsComponent.SetReticleBaseZoom ( float  reticleBaseZoom)

◆ SetReticleOffsetX()

void SCR_2DOpticsComponent.SetReticleOffsetX ( float  reticleOffsetX)

◆ SetReticleOffsetY()

void SCR_2DOpticsComponent.SetReticleOffsetY ( float  reticleOffsetY)

◆ SetReticlePortion()

void SCR_2DOpticsComponent.SetReticlePortion ( float  reticlePortion)

Member Data Documentation

◆ ACTION_ILLUMINATION

const string SCR_2DOpticsComponent.ACTION_ILLUMINATION = "WeaponToggleSightsIllumination"
static

◆ ACTION_ZOOM_IN

const string SCR_2DOpticsComponent.ACTION_ZOOM_IN = "WeaponOpticsZoomIn"
static

◆ ACTION_ZOOM_OUT

const string SCR_2DOpticsComponent.ACTION_ZOOM_OUT = "WeaponOpticsZoomOut"
static

◆ m_bHasIllumination

bool SCR_2DOpticsComponent.m_bHasIllumination
protected

◆ m_bIsIlluminationOn

bool SCR_2DOpticsComponent.m_bIsIlluminationOn
protected

◆ m_bIsMoving

bool SCR_2DOpticsComponent.m_bIsMoving
protected

◆ m_bIsOpticsHidden

bool SCR_2DOpticsComponent.m_bIsOpticsHidden
protected

◆ m_bIsRotating

bool SCR_2DOpticsComponent.m_bIsRotating
protected

◆ m_bShouldHideParentCharacter

bool SCR_2DOpticsComponent.m_bShouldHideParentCharacter
protected

◆ m_bShouldHideParentObject

bool SCR_2DOpticsComponent.m_bShouldHideParentObject
protected

◆ m_bWasEntityHidden

bool SCR_2DOpticsComponent.m_bWasEntityHidden
protected

◆ m_cReticleTextureIllumination

ref Color SCR_2DOpticsComponent.m_cReticleTextureIllumination
protected

◆ m_eZeroingType

SCR_EPIPZeroingType SCR_2DOpticsComponent.m_eZeroingType
protected

◆ m_fADSActivationPercentage

float SCR_2DOpticsComponent.m_fADSActivationPercentage
protected

◆ m_fADSDeactivationPercentage

float SCR_2DOpticsComponent.m_fADSDeactivationPercentage
protected

◆ m_fAnimationEnterTime

float SCR_2DOpticsComponent.m_fAnimationEnterTime
protected

◆ m_fAnimationSpeedBlur

float SCR_2DOpticsComponent.m_fAnimationSpeedBlur
protected

◆ m_fCurrentCameraPitch

float SCR_2DOpticsComponent.m_fCurrentCameraPitch
protected

◆ m_fCurrentReticleOffsetY

float SCR_2DOpticsComponent.m_fCurrentReticleOffsetY
protected

◆ m_fDefaultSize

float SCR_2DOpticsComponent.m_fDefaultSize
protected

◆ m_fFovZoomed

float SCR_2DOpticsComponent.m_fFovZoomed
protected

◆ m_fMagnification

float SCR_2DOpticsComponent.m_fMagnification
protected

◆ m_fMisalignmentDampingSpeed

float SCR_2DOpticsComponent.m_fMisalignmentDampingSpeed
protected

◆ m_fMisalignmentScale

float SCR_2DOpticsComponent.m_fMisalignmentScale
protected

◆ m_fMotionBlurMax

float SCR_2DOpticsComponent.m_fMotionBlurMax
protected

◆ m_fMotionBlurScale

float SCR_2DOpticsComponent.m_fMotionBlurScale
protected

◆ m_fMovementDampingSpeed

float SCR_2DOpticsComponent.m_fMovementDampingSpeed
protected

◆ m_fMovementScale

float SCR_2DOpticsComponent.m_fMovementScale
protected

◆ m_fNearPlaneCurrent

float SCR_2DOpticsComponent.m_fNearPlaneCurrent
protected

◆ m_fObjectiveFov

float SCR_2DOpticsComponent.m_fObjectiveFov
protected

◆ m_fObjectiveScale

float SCR_2DOpticsComponent.m_fObjectiveScale
protected

◆ m_fReticleAngularSize

float SCR_2DOpticsComponent.m_fReticleAngularSize
protected

◆ m_fReticleBaseZoom

float SCR_2DOpticsComponent.m_fReticleBaseZoom
protected

◆ m_fReticleOffsetInterpSpeed

float SCR_2DOpticsComponent.m_fReticleOffsetInterpSpeed
protected

◆ m_fReticleOffsetX

float SCR_2DOpticsComponent.m_fReticleOffsetX
protected

◆ m_fReticleOffsetY

float SCR_2DOpticsComponent.m_fReticleOffsetY
protected

◆ m_fReticlePortion

float SCR_2DOpticsComponent.m_fReticlePortion
protected

◆ m_fReticleTextureGlowAlpha

float SCR_2DOpticsComponent.m_fReticleTextureGlowAlpha
protected

◆ m_fRollDampingSpeed

float SCR_2DOpticsComponent.m_fRollDampingSpeed
protected

◆ m_fRollScale

float SCR_2DOpticsComponent.m_fRollScale
protected

◆ m_fRotationDampingSpeed

float SCR_2DOpticsComponent.m_fRotationDampingSpeed
protected

◆ m_fRotationScale

float SCR_2DOpticsComponent.m_fRotationScale
protected

◆ m_fScratchesRoll

float SCR_2DOpticsComponent.m_fScratchesRoll
protected

◆ m_fVignetteMoveSpeed

float SCR_2DOpticsComponent.m_fVignetteMoveSpeed
protected

◆ m_fVignetteScale

float SCR_2DOpticsComponent.m_fVignetteScale
protected

◆ m_iAnimationActivationDelay

int SCR_2DOpticsComponent.m_iAnimationActivationDelay
protected

◆ m_iAnimationDeactivationDelay

int SCR_2DOpticsComponent.m_iAnimationDeactivationDelay
protected

◆ m_iHeadBoneId

int SCR_2DOpticsComponent.m_iHeadBoneId = -1
protected

◆ m_iSelectedZoomLevel

int SCR_2DOpticsComponent.m_iSelectedZoomLevel
protected

◆ m_ParentCharacter

ChimeraCharacter SCR_2DOpticsComponent.m_ParentCharacter
protected

◆ m_ReticleColor

ref Color SCR_2DOpticsComponent.m_ReticleColor
protected

◆ m_ReticleOutlineColor

ref Color SCR_2DOpticsComponent.m_ReticleOutlineColor
protected

◆ m_sFilterTexture

ResourceName SCR_2DOpticsComponent.m_sFilterTexture
protected

◆ m_sReticleGlowTexture

ResourceName SCR_2DOpticsComponent.m_sReticleGlowTexture
protected

◆ m_sReticleTexture

ResourceName SCR_2DOpticsComponent.m_sReticleTexture
protected

◆ m_vCameraAngles

vector SCR_2DOpticsComponent.m_vCameraAngles
protected

◆ m_vCameraMisalignmentScale

vector SCR_2DOpticsComponent.m_vCameraMisalignmentScale
protected

◆ m_vCameraOffset

vector SCR_2DOpticsComponent.m_vCameraOffset
protected

◆ NEAR_PLANE_DEFAULT

const float SCR_2DOpticsComponent.NEAR_PLANE_DEFAULT = 0.05
static

◆ NEAR_PLANE_ZOOMED

const float SCR_2DOpticsComponent.NEAR_PLANE_ZOOMED = 0.05
static

◆ OPACITY_INITIAL

const float SCR_2DOpticsComponent.OPACITY_INITIAL = 0.75
static

◆ REFERENCE_FOV

const float SCR_2DOpticsComponent.REFERENCE_FOV = 28
static

◆ s_On2DOpticADSChanged

ref ScriptInvokerBase<On2DOpticsADSChange> SCR_2DOpticsComponent.s_On2DOpticADSChanged = new ScriptInvokerBase<On2DOpticsADSChange>()
static

◆ s_OnIlluminationChange

ref ScriptInvokerBase<On2DOpticsIlluminationChange> SCR_2DOpticsComponent.s_OnIlluminationChange = new ScriptInvokerBase<On2DOpticsIlluminationChange>()
protected

◆ s_OnSetupOpticImage

ref ScriptInvokerVoid SCR_2DOpticsComponent.s_OnSetupOpticImage = new ScriptInvokerVoid()
protected

◆ s_OnSightsADSChanged

ref ScriptInvokerBase<OnSightsADSChanged> SCR_2DOpticsComponent.s_OnSightsADSChanged = new ScriptInvokerBase<OnSightsADSChanged>()
static

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