Navigation
API > API/Plugins > API/Plugins/NiagaraAnimNotifies
Timed Niagara Effect Notify Allows a looping Niagara effect to be played in an animation that will activate at the beginning of the notify and deactivate at the end.
| Name | UAnimNotifyState_TimedNiagaraEffect |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraAnimNotifies/Public/AnimNotifyState_TimedNiagaraEffect.h |
| Include Path | #include "AnimNotifyState_TimedNiagaraEffect.h" |
Syntax
UCLASS (Blueprintable, Meta=(DisplayName="Timed Niagara Effect"), MinimalAPI)
class UAnimNotifyState_TimedNiagaraEffect : public UAnimNotifyState
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAnimNotifyState → UAnimNotifyState_TimedNiagaraEffect
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAnimNotifyState_TimedNiagaraEffect
(
const FObjectInitializer& ObjectInitializer |
AnimNotifyState_TimedNiagaraEffect.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bApplyRateScaleAsTimeDilation | bool | Should we set the animation rate scale as time dilation on the spawn effect? | AnimNotifyState_TimedNiagaraEffect.h |
|
| bDestroyAtEnd | bool | Whether or not we destroy the component at the end of the notify or instead just stop the emitters. | AnimNotifyState_TimedNiagaraEffect.h |
|
| LocationOffset | FVector | Offset from the socket / bone location. | AnimNotifyState_TimedNiagaraEffect.h |
|
| RotationOffset | FRotator | Offset from the socket / bone rotation. | AnimNotifyState_TimedNiagaraEffect.h |
|
| Scale | FVector | Scale to spawn the Niagara system at. | AnimNotifyState_TimedNiagaraEffect.h |
|
| SocketName | FName | The socket within our mesh component to attach to when we spawn the Niagara component. | AnimNotifyState_TimedNiagaraEffect.h |
|
| Template | TObjectPtr< UNiagaraSystem > | The niagara system template to use when spawning the niagara component. | AnimNotifyState_TimedNiagaraEffect.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString GetNotifyName_Implementation() |
Overridden from UAnimNotifyState to provide custom notify name. | AnimNotifyState_TimedNiagaraEffect.h | |
UFXSystemComponent * GetSpawnedEffect
(
UMeshComponent* MeshComp |
Return FXSystemComponent created from SpawnEffect. | AnimNotifyState_TimedNiagaraEffect.h |
|
Overridden from UAnimNotifyState
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void NotifyBegin
(
USkeletalMeshComponent* MeshComp, |
AnimNotifyState_TimedNiagaraEffect.h | ||
virtual void NotifyBegin
(
USkeletalMeshComponent* MeshComp, |
AnimNotifyState_TimedNiagaraEffect.h | ||
virtual void NotifyEnd
(
USkeletalMeshComponent* MeshComp, |
AnimNotifyState_TimedNiagaraEffect.h | ||
virtual void NotifyEnd
(
USkeletalMeshComponent* MeshComp, |
AnimNotifyState_TimedNiagaraEffect.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FName GetSpawnedComponentTag() |
AnimNotifyState_TimedNiagaraEffect.h | ||
virtual UFXSystemComponent * SpawnEffect
(
USkeletalMeshComponent* MeshComp, |
Spawns the NiagaraSystemComponent. Called from Notify. | AnimNotifyState_TimedNiagaraEffect.h | |
bool ValidateParameters
(
USkeletalMeshComponent* MeshComp |
AnimNotifyState_TimedNiagaraEffect.h |