GameThirdPersonCamera¶
Class in GameFramework · GameFramework.GameThirdPersonCamera · config, native
Object › GameCameraBase › GameThirdPersonCamera
Using it from Lua
Structs¶
CamFocusPointParams
| Field | Type |
|---|---|
FocusActor | Actor |
FocusBoneName | Name |
FocusWorldLoc | vector |
CameraFOV | float |
InterpSpeedRange | vector2d |
InFocusFOV | vector2d |
bAlwaysFocus | bool |
bAdjustCamera | bool |
bIgnoreTrace | bool |
FocusPitchOffsetDeg | float |
PenetrationAvoidanceFeeler
| Field | Type |
|---|---|
AdjustmentRot | Rotator |
WorldWeight | float |
PawnWeight | float |
Extent | vector |
TraceInterval | int |
FramesUntilNextTrace | int |
Properties¶
| Name | Type | Notes |
|---|---|---|
ActualFocusPointWorldLoc | vector | transient, protected |
bDebugChangedCameraMode | bool | |
bDoingACameraTurn | bool | |
bDoingDirectLook | bool | transient |
bDoSeamlessPivotTransition | bool | transient |
bDrawDebug | bool | |
bFocusPointSet | bool | |
bFocusPointSuccessful | bool | transient, protected |
bTurnAlignTargetWhenFinished | bool | protected |
CurrentCamMode | GameThirdPersonCameraMode | transient |
DirectLookInterpSpeed | float | |
DirectLookYaw | int | transient |
Focus_BackOffStrength | float | |
Focus_FastAdjustKickInTime | float | |
Focus_MaxTries | int | |
Focus_StepHeightAdjustment | float | |
FocusPoint | CamFocusPointParams | |
LastActualCameraOrigin | vector | transient |
LastActualCameraOriginRot | rotator | transient |
LastActualOriginOffset | vector | transient |
LastCamFOV | float | transient |
LastFocusChangeTime | float | transient, protected |
LastFocusPointLoc | vector | transient, protected |
LastHeightAdjustment | float | transient |
LastIdealCameraOrigin | vector | transient |
LastIdealCameraOriginRot | rotator | transient |
LastOffsetAdjustment | vector | transient, protectedwrite |
LastPitchAdjustment | float | transient |
LastPostCamTurnYaw | int | transient, protected |
LastPreModifierCameraLoc | vector | transient |
LastPreModifierCameraRot | rotator | transient |
LastViewOffset | vector | transient |
LastWorstLocation | vector | transient |
LastWorstLocationLocal | vector | transient |
LastYawAdjustment | float | transient |
LeftoverPitchAdjustment | float | transient |
OriginOffsetInterpSpeed | float | |
PenetrationAvoidanceFeelers | array<PenetrationAvoidanceFeeler> | |
PenetrationBlendInTime | float | |
PenetrationBlendOutTime | float | |
PenetrationBlockedPct | float | protected |
PenetrationExtentScale | float | |
ThirdPersonCamDefault | GameThirdPersonCameraMode | protected |
ThirdPersonCamDefaultClass | class<GameThirdPersonCameraMode> | protected |
TurnCurTime | float | protected |
TurnDelay | float | protected |
TurnEndAngle | int | protected |
TurnStartAngle | int | protected |
TurnTotalTime | float | protected |
WorstLocBlockedPct | float | |
WorstLocInterpSpeed | float | |
WorstLocPenetrationExtentScale | float |
Functions¶
| Name | Declaration |
|---|---|
AdjustFocusPointInterpolation | function AdjustFocusPointInterpolation(rotator Delta) |
AdjustTurn | function AdjustTurn(int AngleOffset) |
BeginTurn | function BeginTurn(int StartAngle, int EndAngle, float TimeSec, optional float DelaySec, optional bool bAlignTargetWhenFinished) |
ClearFocusPoint | function ClearFocusPoint(optional bool bLeaveCameraRotation) |
CreateCameraMode | protected function GameThirdPersonCameraMode CreateCameraMode(class<GameThirdPersonCameraMode> ModeClass) |
EndTurn | native function EndTurn() |
FindBestCameraMode | function GameThirdPersonCameraMode FindBestCameraMode(Pawn P) |
GetActualFocusLocation | protected function vector GetActualFocusLocation() |
GetDesiredFOV | event float GetDesiredFOV(Pawn ViewedPawn) |
GetFocusActor | function Actor GetFocusActor() |
Init | function Init() |
ModifyPostProcessSettings | event ModifyPostProcessSettings(out PostProcessSettings PP) |
OnBecomeActive | function OnBecomeActive(GameCameraBase OldCamera) |
PlayerUpdateCamera | protected native function PlayerUpdateCamera(Pawn P, GamePlayerCamera CameraActor, float DeltaTime, out TViewTarget OutVT) |
ProcessViewRotation | function ProcessViewRotation(float DeltaTime, Actor ViewTarget, out Rotator out_ViewRotation, out Rotator out_DeltaRot) |
Reset | function Reset() |
ResetInterpolation | function ResetInterpolation() |
SetFocusOnActor | function SetFocusOnActor(Actor FocusActor, Name FocusBoneName, Vector2d InterpSpeedRange, Vector2d InFocusFOV, optional float CameraFOV, optional bool bAlwaysFocus, optional bool bAdjustCamera, optional bool bIgnoreTrace, optional float FocusPitchOffsetDeg) |
SetFocusOnLoc | function SetFocusOnLoc(vector FocusWorldLoc, Vector2d InterpSpeedRange, Vector2d InFocusFOV, optional float CameraFOV, optional bool bAlwaysFocus, optional bool bAdjustCamera, optional bool bIgnoreTrace, optional float FocusPitchOffsetDeg) |
UpdateCamera | function UpdateCamera(Pawn P, GamePlayerCamera CameraActor, float DeltaTime, out TViewTarget OutVT) |
UpdateCameraMode | protected final function UpdateCameraMode(Pawn P) |
UpdateFocusPoint | protected 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¶
| From | Members |
|---|---|
| GameCameraBase | 2 properties, 8 functions |
| Object | 13 properties, 308 functions |