A PlayerCameraManager is responsible for managing the camera for a particular player. It defines the final view properties used by other systems (e.g. the renderer), meaning you can think of it as your virtual eyeball in the world. It can compute the final camera properties directly, or it can arbitrate/blend between other objects or actors that influence the camera (e.g. blending from one CameraActor to another). The PlayerCameraManagers primary external responsibility is to reliably respond to various Get*() functions, such as GetCameraViewPoint. Most everything else is implementation detail and overrideable by user projects. By default, a PlayerCameraManager maintains a "view target", which is the primary actor the camera is associated with. It can also apply various "post" effects to the final view state, such as camera animations, shakes, post-process effects or special effects such as dirt on the lens.
Member | Type | Offset | Share |
---|---|---|---|
PCOwner
PlayerController that owns this Camera actor |
APlayerController* | 0x220 | |
TransformComponent | USceneComponent* | 0x228 | |
DefaultFOV
FOV to use by default. |
float | 0x238 | |
DefaultOrthoWidth
The default desired width (in world units) of the orthographic view (ignored in Perspective mode) |
float | 0x240 | |
DefaultAspectRatio
Default aspect ratio (used when a view target override the aspect ratio and bConstrainAspectRatio is set; most of the time the value from a camera component will be used instead) |
float | 0x248 | |
CameraCache | FCameraCacheEntry | 0x290 | |
LastFrameCameraCache | FCameraCacheEntry | 0x890 | |
ViewTarget
Current ViewTarget |
FTViewTarget | 0xe90 | |
PendingViewTarget
Pending view target for blending |
FTViewTarget | 0x14a0 | |
CameraCachePrivate | FCameraCacheEntry | 0x1ae0 | |
LastFrameCameraCachePrivate | FCameraCacheEntry | 0x20e0 | |
ModifierList
List of active camera modifier instances that have a chance to update the final camera POV |
TArray<UCameraModifier*> | 0x26e0 | |
DefaultModifiers
List of modifiers to create by default for this camera |
TArray<UCameraModifier*> | 0x26f0 | |
FreeCamDistance
Distance to place free camera from view target (used in certain CameraStyles) |
float | 0x2700 | |
FreeCamOffset
Offset to Z free camera position (used in certain CameraStyles) |
FVector | 0x2704 | |
ViewTargetOffset
Offset to view target (used in certain CameraStyles) |
FVector | 0x2710 | |
CameraLensEffects
"Lens" effects (e.g. blood, dirt on camera) |
TArray<AEmitterCameraLensEffectBase*> | 0x2730 | |
CachedCameraShakeMod
Camera Modifiers. |
UCameraModifier_CameraShake* | 0x2740 | |
AnimInstPool[0x8] | UCameraAnimInst* | 0x2748 | |
PostProcessBlendCache
Internal list of active post process effects. Parallel array to PostProcessBlendCacheWeights. |
TArray<FPostProcessSettings> | 0x2788 | |
ActiveAnims
Array of camera anim instances that are currently playing and in-use |
TArray<UCameraAnimInst*> | 0x27a8 | |
FreeAnims
Array of camera anim instances that are not playing and available to be used. |
TArray<UCameraAnimInst*> | 0x27b8 | |
AnimCameraActor
Receives the output of individual camera animations. |
ACameraActor* | 0x27c8 | |
bIsOrthographic : 1 | char | 0x27d0 | |
bDefaultConstrainAspectRatio : 1 | char | 0x27d0 | |
bClientSimulatingViewTarget : 1 | char | 0x27d0 | |
bUseClientSideCameraUpdates : 1 | char | 0x27d0 | |
bGameCameraCutThisFrame : 1 | char | 0x27d1 | |
ViewPitchMin
Minimum view pitch, in degrees. |
float | 0x27d4 | |
ViewPitchMax
Maximum view pitch, in degrees. |
float | 0x27d8 | |
ViewYawMin
Minimum view yaw, in degrees. |
float | 0x27dc | |
ViewYawMax
Maximum view yaw, in degrees. |
float | 0x27e0 | |
ViewRollMin
Minimum view roll, in degrees. |
float | 0x27e4 | |
ViewRollMax
Maximum view roll, in degrees. |
float | 0x27e8 | |
ServerUpdateCameraTimeout | float | 0x27f0 |