Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
FGameplayCueNotify_CameraShakeInfo
Properties that specify how to play a camera shake.
| Name | FGameplayCueNotify_CameraShakeInfo |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayCueNotifyTypes.h |
| Include Path | #include "GameplayCueNotifyTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FGameplayCueNotify_CameraShakeInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGameplayCueNotify_CameraShakeInfo() |
GameplayCueNotifyTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOverridePlacementInfo | uint32 | If enabled, use the placement info override and not the default one. | GameplayCueNotifyTypes.h |
|
| bOverrideSpawnCondition | uint32 | If enabled, use the spawn condition override and not the default one. | GameplayCueNotifyTypes.h |
|
| bPlayInWorld | uint32 | If enabled, the camera shake will be played in the world and affect all players. | GameplayCueNotifyTypes.h |
|
| CameraShake | TSubclassOf< UCameraShakeBase > | Camera shake to play. | GameplayCueNotifyTypes.h |
|
| PlacementInfoOverride | FGameplayCueNotify_PlacementInfo | Defines how the camera shake will be placed. | GameplayCueNotifyTypes.h |
|
| PlaySpace | EGameplayCueNotify_EffectPlaySpace | What coordinate space to play the camera shake relative to. | GameplayCueNotifyTypes.h |
|
| ShakeScale | float | Scale applied to the camera shake. | GameplayCueNotifyTypes.h |
|
| SpawnConditionOverride | FGameplayCueNotify_SpawnCondition | Condition to check before playing the camera shake. | GameplayCueNotifyTypes.h |
|
| WorldFalloffExponent | float | Exponent that describes the shake intensity falloff curve between the inner and outer radii. (1.0 is linear) | GameplayCueNotifyTypes.h |
|
| WorldInnerRadius | float | Players inside this radius get the full intensity camera shake. | GameplayCueNotifyTypes.h |
|
| WorldOuterRadius | float | Players outside this radius do not get the camera shake applied. | GameplayCueNotifyTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool PlayCameraShake
(
const FGameplayCueNotify_SpawnContext& SpawnContext, |
GameplayCueNotifyTypes.h | ||
void ValidateBurstAssets
(
const UObject* ContainingAsset, |
GameplayCueNotifyTypes.h |