Skip to content

GameThirdPersonCameraMode

Class in GameFramework · GameFramework.GameThirdPersonCameraMode · config, native

Object › GameThirdPersonCameraMode

Subclasses: GameThirdPersonCameraMode_Default

Using it from Lua
h7.find_all("GameThirdPersonCameraMode")            -- live instances
h7.find_class("GameFramework.GameThirdPersonCameraMode")   -- the class
h7.hook("GameFramework.GameThirdPersonCameraMode.AdjustViewOffset", fn)

Enums

ECameraViewportTypes

CVT_16to9_Full = 0, CVT_16to9_VertSplit = 1, CVT_16to9_HorizSplit = 2, CVT_4to3_Full = 3, CVT_4to3_HorizSplit = 4, CVT_4to3_VertSplit = 5

Structs

ViewOffsetData

FieldType
OffsetHighvector
OffsetMidvector
OffsetLowvector

Properties

NameTypeNotes
bAdjustDOFboolconst, protected
bApplyDeltaViewOffsetbool
bDirectLookboolconst, protected
bDOFUpdatedbooltransient, protected
bDoPredictiveAvoidanceboolconst
bFollowTargetboolconst, protected
bInterpLocationbool
bInterpRotationbool
bInterpViewOffsetOnlyForCamTransitionbool
BlendTimefloat
bLockedToViewTargetboolconst, protected
bNoFOVPostProcessbool
bRotInterpSpeedConstantbool
bSkipCameraCollisionbool
bSmoothViewOffsetPitchChangesboolconst, protected
bUsePerAxisOriginLocInterpboolprotected
bValidateWorstLocboolconst
CurrentViewportTypeECameraViewportTypestransient, protected
DOF_BlurKernelSizefloatconst, protected
DOF_FalloffExponentfloatconst, protected
DOF_FocusInnerRadiusfloatconst, protected
DOF_MaxFarBlurAmountfloatconst, protected
DOF_MaxNearBlurAmountfloatconst, protected
DOF_RadiusDistRangevector2dconst, protected
DOF_RadiusFallofffloatconst, protected
DOF_RadiusRangevector2dconst, protected
DOFDistanceInterpSpeedfloatconst, protected
DOFTraceExtentvectorconst, protected
FollowingCameraVelThresholdfloatconst, protected
FollowingInterpSpeed_Pitchfloatconst, protected
FollowingInterpSpeed_Rollfloatconst, protected
FollowingInterpSpeed_Yawfloatconst, protected
FOVAnglefloatconst, config
LastDOFDistancefloattransient, protected
LastDOFRadiusfloattransient, protected
LastRunOffsetvectortransient, protected
LastStrafeOffsetvectortransient, protected
OffsetAdjustmentInterpSpeedfloatprotected
OriginLocInterpSpeedfloatprotected
OriginRotInterpSpeedfloatprotected
PerAxisOriginLocInterpSpeedvectorprotected
RunBackAdjustmentvectorconst, protected
RunFwdAdjustmentvectorconst, protected
RunOffsetInterpSpeedInfloatconst, protected
RunOffsetInterpSpeedOutfloatconst, protected
RunOffsetScalingThresholdfloatconst, protected
StrafeLeftAdjustmentvectorconst, protected
StrafeOffsetInterpSpeedInfloatconst, protected
StrafeOffsetInterpSpeedOutfloatconst, protected
StrafeOffsetScalingThresholdfloatconst, protected
StrafeRightAdjustmentvectorconst, protected
TargetRelativeCameraOriginOffsetvectorconst, protected
ThirdPersonCamGameThirdPersonCameratransient
ViewOffsetViewOffsetDataconst, protected
ViewOffset_ViewportAdjustmentsViewOffsetData[ECameraViewportTypes.EnumCount]const, protected
ViewOffsetInterpfloat
WorstLocOffsetvectorprotected

Functions

NameDeclaration
AdjustViewOffsetevent vector AdjustViewOffset(Pawn P, vector Offset)
DOFTraceprotected simulated function vector DOFTrace(Actor TraceOwner, vector StartTrace, vector EndTrace)
GetCameraWorstCaseLocsimulated event vector GetCameraWorstCaseLoc(Pawn TargetPawn, TViewTarget CurrentViewTarget)
GetDesiredFOVfunction float GetDesiredFOV(Pawn ViewedPawn)
GetDOFFocusLocprotected simulated function vector GetDOFFocusLoc(Actor TraceOwner, vector StartTrace, vector EndTrace)
Initfunction Init()
ModifyPostProcessSettingssimulated function ModifyPostProcessSettings(out PostProcessSettings PP)
OnBecomeActivefunction OnBecomeActive(Pawn TargetPawn, GameThirdPersonCameraMode PrevMode)
OnBecomeInActivefunction OnBecomeInActive(Pawn TargetPawn, GameThirdPersonCameraMode NewMode)
ProcessViewRotationsimulated function ProcessViewRotation(float DeltaTime, Actor ViewTarget, out Rotator out_ViewRotation, out Rotator out_DeltaRot)
SetFocusPointsimulated function bool SetFocusPoint(Pawn ViewedPawn)
SetViewOffsetfinal native function SetViewOffset(const out ViewOffsetData NewViewOffset)
UpdatePostProcesssimulated function UpdatePostProcess(const out TViewTarget VT, float DeltaTime)

Default values

BlendTime=0.67
bLockedToViewTarget=TRUE
bDoPredictiveAvoidance=TRUE
bValidateWorstLoc=TRUE
bInterpLocation=TRUE
OriginLocInterpSpeed=8
StrafeLeftAdjustment=(X=0,Y=0,Z=0)
StrafeRightAdjustment=(X=0,Y=0,Z=0)
StrafeOffsetInterpSpeedIn=12.f
StrafeOffsetInterpSpeedOut=20.f
RunFwdAdjustment=(X=0,Y=0,Z=0)
RunBackAdjustment=(X=0,Y=0,Z=0)
RunOffsetInterpSpeedIn=6.f
RunOffsetInterpSpeedOut=12.f
WorstLocOffset=(X=-8,Y=1,Z=90)
bInterpViewOffsetOnlyForCamTransition=TRUE
ViewOffset_ViewportAdjustments(CVT_16to9_Full)={(
OffsetHigh=(X=0,Y=0,Z=0),
OffsetLow=(X=0,Y=0,Z=0),
OffsetMid=(X=0,Y=0,Z=0),
bAdjustDOF=FALSE
DOF_FalloffExponent=1.f
DOF_BlurKernelSize=3.f
DOF_MaxNearBlurAmount=0.6f
DOF_MaxFarBlurAmount=1.f
DOFDistanceInterpSpeed=10.f
DOFTraceExtent=(X=0.f,Y=0.f,Z=0.f)
DOF_RadiusFalloff=1.f
DOF_RadiusRange=(X=2500,Y=60000)
DOF_RadiusDistRange=(X=1000,Y=50000)
OffsetAdjustmentInterpSpeed=12.f

Inherited

FromMembers
Object13 properties, 308 functions