Skip to content

GameThirdPersonCamera

Class in GameFramework · GameFramework.GameThirdPersonCamera · config, native

Object › GameCameraBase › GameThirdPersonCamera

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

Structs

CamFocusPointParams

FieldType
FocusActorActor
FocusBoneNameName
FocusWorldLocvector
CameraFOVfloat
InterpSpeedRangevector2d
InFocusFOVvector2d
bAlwaysFocusbool
bAdjustCamerabool
bIgnoreTracebool
FocusPitchOffsetDegfloat

PenetrationAvoidanceFeeler

FieldType
AdjustmentRotRotator
WorldWeightfloat
PawnWeightfloat
Extentvector
TraceIntervalint
FramesUntilNextTraceint

Properties

NameTypeNotes
ActualFocusPointWorldLocvectortransient, protected
bDebugChangedCameraModebool
bDoingACameraTurnbool
bDoingDirectLookbooltransient
bDoSeamlessPivotTransitionbooltransient
bDrawDebugbool
bFocusPointSetbool
bFocusPointSuccessfulbooltransient, protected
bTurnAlignTargetWhenFinishedboolprotected
CurrentCamModeGameThirdPersonCameraModetransient
DirectLookInterpSpeedfloat
DirectLookYawinttransient
Focus_BackOffStrengthfloat
Focus_FastAdjustKickInTimefloat
Focus_MaxTriesint
Focus_StepHeightAdjustmentfloat
FocusPointCamFocusPointParams
LastActualCameraOriginvectortransient
LastActualCameraOriginRotrotatortransient
LastActualOriginOffsetvectortransient
LastCamFOVfloattransient
LastFocusChangeTimefloattransient, protected
LastFocusPointLocvectortransient, protected
LastHeightAdjustmentfloattransient
LastIdealCameraOriginvectortransient
LastIdealCameraOriginRotrotatortransient
LastOffsetAdjustmentvectortransient, protectedwrite
LastPitchAdjustmentfloattransient
LastPostCamTurnYawinttransient, protected
LastPreModifierCameraLocvectortransient
LastPreModifierCameraRotrotatortransient
LastViewOffsetvectortransient
LastWorstLocationvectortransient
LastWorstLocationLocalvectortransient
LastYawAdjustmentfloattransient
LeftoverPitchAdjustmentfloattransient
OriginOffsetInterpSpeedfloat
PenetrationAvoidanceFeelersarray<PenetrationAvoidanceFeeler>
PenetrationBlendInTimefloat
PenetrationBlendOutTimefloat
PenetrationBlockedPctfloatprotected
PenetrationExtentScalefloat
ThirdPersonCamDefaultGameThirdPersonCameraModeprotected
ThirdPersonCamDefaultClassclass<GameThirdPersonCameraMode>protected
TurnCurTimefloatprotected
TurnDelayfloatprotected
TurnEndAngleintprotected
TurnStartAngleintprotected
TurnTotalTimefloatprotected
WorstLocBlockedPctfloat
WorstLocInterpSpeedfloat
WorstLocPenetrationExtentScalefloat

Functions

NameDeclaration
AdjustFocusPointInterpolationfunction AdjustFocusPointInterpolation(rotator Delta)
AdjustTurnfunction AdjustTurn(int AngleOffset)
BeginTurnfunction BeginTurn(int StartAngle, int EndAngle, float TimeSec, optional float DelaySec, optional bool bAlignTargetWhenFinished)
ClearFocusPointfunction ClearFocusPoint(optional bool bLeaveCameraRotation)
CreateCameraModeprotected function GameThirdPersonCameraMode CreateCameraMode(class<GameThirdPersonCameraMode> ModeClass)
EndTurnnative function EndTurn()
FindBestCameraModefunction GameThirdPersonCameraMode FindBestCameraMode(Pawn P)
GetActualFocusLocationprotected function vector GetActualFocusLocation()
GetDesiredFOVevent float GetDesiredFOV(Pawn ViewedPawn)
GetFocusActorfunction Actor GetFocusActor()
Initfunction Init()
ModifyPostProcessSettingsevent ModifyPostProcessSettings(out PostProcessSettings PP)
OnBecomeActivefunction OnBecomeActive(GameCameraBase OldCamera)
PlayerUpdateCameraprotected native function PlayerUpdateCamera(Pawn P, GamePlayerCamera CameraActor, float DeltaTime, out TViewTarget OutVT)
ProcessViewRotationfunction ProcessViewRotation(float DeltaTime, Actor ViewTarget, out Rotator out_ViewRotation, out Rotator out_DeltaRot)
Resetfunction Reset()
ResetInterpolationfunction ResetInterpolation()
SetFocusOnActorfunction SetFocusOnActor(Actor FocusActor, Name FocusBoneName, Vector2d InterpSpeedRange, Vector2d InFocusFOV, optional float CameraFOV, optional bool bAlwaysFocus, optional bool bAdjustCamera, optional bool bIgnoreTrace, optional float FocusPitchOffsetDeg)
SetFocusOnLocfunction SetFocusOnLoc(vector FocusWorldLoc, Vector2d InterpSpeedRange, Vector2d InFocusFOV, optional float CameraFOV, optional bool bAlwaysFocus, optional bool bAdjustCamera, optional bool bIgnoreTrace, optional float FocusPitchOffsetDeg)
UpdateCamerafunction UpdateCamera(Pawn P, GamePlayerCamera CameraActor, float DeltaTime, out TViewTarget OutVT)
UpdateCameraModeprotected final function UpdateCameraMode(Pawn P)
UpdateFocusPointprotected event UpdateFocusPoint(Pawn P)

Default values

PenetrationBlendOutTime=0.15f
PenetrationBlendInTime=0.1f
PenetrationBlockedPct=1.f
PenetrationExtentScale=1.f
WorstLocPenetrationExtentScale=1.f
WorstLocInterpSpeed=8
bResetCameraInterpolation=TRUE
OriginOffsetInterpSpeed=8
Focus_BackOffStrength=0.33f
Focus_StepHeightAdjustment= 64
Focus_MaxTries=4
Focus_FastAdjustKickInTime=0.5
bDoingACameraTurn=FALSE
DirectLookInterpSpeed=6.f
PenetrationAvoidanceFeelers(0)=(AdjustmentRot=(Pitch=0,Yaw=0,Roll=0),WorldWeight=1.f,PawnWeight=1.f,Extent=(X=14,Y=14,Z=14))
PenetrationAvoidanceFeelers(1)=(AdjustmentRot=(Pitch=0,Yaw=3072,Roll=0),WorldWeight=0.75f,PawnWeight=0.75f,Extent=(X=0,Y=0,Z=0), TraceInterval=3)
PenetrationAvoidanceFeelers(2)=(AdjustmentRot=(Pitch=0,Yaw=-3072,Roll=0),WorldWeight=0.75f,PawnWeight=0.75f,Extent=(X=0,Y=0,Z=0), TraceInterval=3)
PenetrationAvoidanceFeelers(3)=(AdjustmentRot=(Pitch=0,Yaw=6144,Roll=0),WorldWeight=0.5f,PawnWeight=0.5f,Extent=(X=0,Y=0,Z=0), TraceInterval=5)
PenetrationAvoidanceFeelers(4)=(AdjustmentRot=(Pitch=0,Yaw=-6144,Roll=0),WorldWeight=0.5f,PawnWeight=0.5f,Extent=(X=0,Y=0,Z=0), TraceInterval=5)
PenetrationAvoidanceFeelers(5)=(AdjustmentRot=(Pitch=3640,Yaw=0,Roll=0),WorldWeight=1.f,PawnWeight=1.f,Extent=(X=0,Y=0,Z=0), TraceInterval=4)
PenetrationAvoidanceFeelers(6)=(AdjustmentRot=(Pitch=-3640,Yaw=0,Roll=0),WorldWeight=0.5f,PawnWeight=0.5f,Extent=(X=0,Y=0,Z=0), TraceInterval=4)
ThirdPersonCamDefaultClass=class'GameThirdPersonCameraMode_Default'

Inherited

FromMembers
GameCameraBase2 properties, 8 functions
Object13 properties, 308 functions