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