GameThirdPersonCameraMode¶
Class in GameFramework · GameFramework.GameThirdPersonCameraMode · config, native
Object › GameThirdPersonCameraMode
Subclasses: GameThirdPersonCameraMode_Default
Using it from Lua
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
| Field | Type |
|---|---|
OffsetHigh | vector |
OffsetMid | vector |
OffsetLow | vector |
Properties¶
| Name | Type | Notes |
|---|---|---|
bAdjustDOF | bool | const, protected |
bApplyDeltaViewOffset | bool | |
bDirectLook | bool | const, protected |
bDOFUpdated | bool | transient, protected |
bDoPredictiveAvoidance | bool | const |
bFollowTarget | bool | const, protected |
bInterpLocation | bool | |
bInterpRotation | bool | |
bInterpViewOffsetOnlyForCamTransition | bool | |
BlendTime | float | |
bLockedToViewTarget | bool | const, protected |
bNoFOVPostProcess | bool | |
bRotInterpSpeedConstant | bool | |
bSkipCameraCollision | bool | |
bSmoothViewOffsetPitchChanges | bool | const, protected |
bUsePerAxisOriginLocInterp | bool | protected |
bValidateWorstLoc | bool | const |
CurrentViewportType | ECameraViewportTypes | transient, protected |
DOF_BlurKernelSize | float | const, protected |
DOF_FalloffExponent | float | const, protected |
DOF_FocusInnerRadius | float | const, protected |
DOF_MaxFarBlurAmount | float | const, protected |
DOF_MaxNearBlurAmount | float | const, protected |
DOF_RadiusDistRange | vector2d | const, protected |
DOF_RadiusFalloff | float | const, protected |
DOF_RadiusRange | vector2d | const, protected |
DOFDistanceInterpSpeed | float | const, protected |
DOFTraceExtent | vector | const, protected |
FollowingCameraVelThreshold | float | const, protected |
FollowingInterpSpeed_Pitch | float | const, protected |
FollowingInterpSpeed_Roll | float | const, protected |
FollowingInterpSpeed_Yaw | float | const, protected |
FOVAngle | float | const, config |
LastDOFDistance | float | transient, protected |
LastDOFRadius | float | transient, protected |
LastRunOffset | vector | transient, protected |
LastStrafeOffset | vector | transient, protected |
OffsetAdjustmentInterpSpeed | float | protected |
OriginLocInterpSpeed | float | protected |
OriginRotInterpSpeed | float | protected |
PerAxisOriginLocInterpSpeed | vector | protected |
RunBackAdjustment | vector | const, protected |
RunFwdAdjustment | vector | const, protected |
RunOffsetInterpSpeedIn | float | const, protected |
RunOffsetInterpSpeedOut | float | const, protected |
RunOffsetScalingThreshold | float | const, protected |
StrafeLeftAdjustment | vector | const, protected |
StrafeOffsetInterpSpeedIn | float | const, protected |
StrafeOffsetInterpSpeedOut | float | const, protected |
StrafeOffsetScalingThreshold | float | const, protected |
StrafeRightAdjustment | vector | const, protected |
TargetRelativeCameraOriginOffset | vector | const, protected |
ThirdPersonCam | GameThirdPersonCamera | transient |
ViewOffset | ViewOffsetData | const, protected |
ViewOffset_ViewportAdjustments | ViewOffsetData[ECameraViewportTypes.EnumCount] | const, protected |
ViewOffsetInterp | float | |
WorstLocOffset | vector | protected |
Functions¶
| Name | Declaration |
|---|---|
AdjustViewOffset | event vector AdjustViewOffset(Pawn P, vector Offset) |
DOFTrace | protected simulated function vector DOFTrace(Actor TraceOwner, vector StartTrace, vector EndTrace) |
GetCameraWorstCaseLoc | simulated event vector GetCameraWorstCaseLoc(Pawn TargetPawn, TViewTarget CurrentViewTarget) |
GetDesiredFOV | function float GetDesiredFOV(Pawn ViewedPawn) |
GetDOFFocusLoc | protected simulated function vector GetDOFFocusLoc(Actor TraceOwner, vector StartTrace, vector EndTrace) |
Init | function Init() |
ModifyPostProcessSettings | simulated function ModifyPostProcessSettings(out PostProcessSettings PP) |
OnBecomeActive | function OnBecomeActive(Pawn TargetPawn, GameThirdPersonCameraMode PrevMode) |
OnBecomeInActive | function OnBecomeInActive(Pawn TargetPawn, GameThirdPersonCameraMode NewMode) |
ProcessViewRotation | simulated function ProcessViewRotation(float DeltaTime, Actor ViewTarget, out Rotator out_ViewRotation, out Rotator out_DeltaRot) |
SetFocusPoint | simulated function bool SetFocusPoint(Pawn ViewedPawn) |
SetViewOffset | final native function SetViewOffset(const out ViewOffsetData NewViewOffset) |
UpdatePostProcess | simulated 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¶
| From | Members |
|---|---|
| Object | 13 properties, 308 functions |