UAnimNotifyState_TimedNiagaraEffect

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.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UAnimNotifyState

UAnimNotifyState_TimedNiagaraEffect

References

Module

NiagaraAnimNotifies

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraAnimNotifies/Public/AnimNotifyState_TimedNiagaraEffect.h

Include

#include "AnimNotifyState_TimedNiagaraEffect.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Blueprintable, Meta=(DisplayName="Timed Niagara Effect"))
class UAnimNotifyState_TimedNiagaraEffect : public UAnimNotifyState

Remarks

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.

Variables

Name Description

Public variable UProperty Category, EditAnywhere, Meta

bool

 

bDestroyAtEnd

Whether or not we destroy the component at the end of the notify or instead just stop the emitters.

Public variable UProperty Category, EditAnywhere, Meta

FVector

 

LocationOffset

Offset from the socket / bone location.

Public variable UProperty Transient

TArray< FName >

 

PreviousSocketNames

Public variable UProperty Transient

TArray< UFXSyst...

 

PreviousTemplates

The following arrays are used to handle property changes during a state.

Public variable UProperty Category, EditAnywhere, Meta

FRotator

 

RotationOffset

Offset from the socket / bone rotation.

Public variable UProperty Category, EditAnywhere, Meta

FName

 

SocketName

The socket within our mesh component to attach to when we spawn the Niagara component.

Public variable UProperty Category, EditAnywhere, Meta

UNiagaraSystem ...

 

Template

The niagara system template to use when spawning the niagara component.

Constructors

Name Description

Public function

UAnimNotifyState_TimedNiagaraEffect

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

FString

 

GetNotifyName_Implementation()

Overridden from UAnimNotifyState to provide custom notify name.

Protected function Virtual

UFXSystemCom...

 

SpawnEffect

(
    USkeletalMeshComponent* MeshCo...,
    UAnimSequenceBase* Animation
)

Spawns the NiagaraSystemComponent. Called from Notify.

Overridden from UAnimNotifyState

Name Description

Public function Virtual

void

 

NotifyBegin

(
    USkeletalMeshComponent* MeshCo...,
    UAnimSequenceBase* Animation,
    float TotalDuration
)

Public function Virtual

void

 

NotifyEnd

(
    USkeletalMeshComponent* MeshCo...,
    UAnimSequenceBase* Animation
)

Public function Virtual

void

 

NotifyTick

(
    USkeletalMeshComponent* MeshCo...,
    UAnimSequenceBase* Animation,
    float FrameDeltaTime
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PreEditChange

(
    FProperty* PropertyAboutToChan...
)

This is called when a property is about to be modified externally

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss