![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Camera/CameraModifier_CameraShake.h"#include "BatchedElements.h"#include "Camera/CameraShakeBase.h"#include "Camera/CameraShakeSourceComponent.h"#include "Engine/Canvas.h"#include "Engine/Engine.h"#include "Engine/GameViewportClient.h"#include "Engine/LocalPlayer.h"#include "GameFramework/PlayerController.h"#include "HAL/IConsoleManager.h"#include "Stats/Stats.h"Functions | |
| DEFINE_LOG_CATEGORY_STATIC (LogCameraShake, Warning, All) | |
| DECLARE_CYCLE_STAT (TEXT("AddCameraShake"), STAT_AddCameraShake, STATGROUP_Game) | |
Variables | |
| TAutoConsoleVariable< bool > | GShowCameraShakeDebugCVar (TEXT("r.CameraShakeDebug"), false, TEXT("Show extra debug info for camera shakes (requires `showdebug CAMERA`)")) |
| TAutoConsoleVariable< bool > | GShowCameraShakeDebugLocationCVar (TEXT("r.CameraShakeDebug.Location"), true, TEXT("Whether to show camera shakes' location modifications (defaults to true)")) |
| TAutoConsoleVariable< bool > | GShowCameraShakeDebugRotationCVar (TEXT("r.CameraShakeDebug.Rotation"), true, TEXT("Whether to show camera shakes' rotation modifications (defaults to true)")) |
| TAutoConsoleVariable< bool > | GCameraShakeDebugLargeGraphCVar (TEXT("r.CameraShakeDebug.LargeGraph"), false, TEXT("Draws larger graphs for camera shake debug info")) |
| TAutoConsoleVariable< float > | GCameraShakeDebugInfoRecordLimitCVar (TEXT("r.CameraShakeDebug.InfoRecordLimit"), 2, TEXT("How many seconds to keep while recording camera shake debug info (defaults to 2 seconds)")) |
| DECLARE_CYCLE_STAT | ( | TEXT("AddCameraShake") | , |
| STAT_AddCameraShake | , | ||
| STATGROUP_Game | |||
| ) |
| DEFINE_LOG_CATEGORY_STATIC | ( | LogCameraShake | , |
| Warning | , | ||
| All | |||
| ) |
| TAutoConsoleVariable< float > GCameraShakeDebugInfoRecordLimitCVar(TEXT("r.CameraShakeDebug.InfoRecordLimit"), 2, TEXT("How many seconds to keep while recording camera shake debug info (defaults to 2 seconds)")) | ( | TEXT("r.CameraShakeDebug.InfoRecordLimit") | , |
| 2 | , | ||
| TEXT("How many seconds to keep while recording camera shake debug info (defaults to 2 seconds)") | |||
| ) |
| TAutoConsoleVariable< bool > GCameraShakeDebugLargeGraphCVar(TEXT("r.CameraShakeDebug.LargeGraph"), false, TEXT("Draws larger graphs for camera shake debug info")) | ( | TEXT("r.CameraShakeDebug.LargeGraph") | , |
| false | , | ||
| TEXT("Draws larger graphs for camera shake debug info") | |||
| ) |
| TAutoConsoleVariable< bool > GShowCameraShakeDebugCVar(TEXT("r.CameraShakeDebug"), false, TEXT("Show extra debug info for camera shakes (requires `showdebug CAMERA`)")) | ( | TEXT("r.CameraShakeDebug") | , |
| false | , | ||
| TEXT("Show extra debug info for camera shakes (requires `showdebug CAMERA`)") | |||
| ) |
| TAutoConsoleVariable< bool > GShowCameraShakeDebugLocationCVar(TEXT("r.CameraShakeDebug.Location"), true, TEXT("Whether to show camera shakes' location modifications (defaults to true)")) | ( | TEXT("r.CameraShakeDebug.Location") | , |
| true | , | ||
| TEXT("Whether to show camera shakes' location modifications (defaults to true)") | |||
| ) |
| TAutoConsoleVariable< bool > GShowCameraShakeDebugRotationCVar(TEXT("r.CameraShakeDebug.Rotation"), true, TEXT("Whether to show camera shakes' rotation modifications (defaults to true)")) | ( | TEXT("r.CameraShakeDebug.Rotation") | , |
| true | , | ||
| TEXT("Whether to show camera shakes' rotation modifications (defaults to true)") | |||
| ) |