| TSharedFromThis | ||
| TNiagaraViewModelManager
|
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/NiagaraEmitterViewModel.h |
Include |
#include "ViewModels/NiagaraEmitterViewModel.h" |
class FNiagaraEmitterViewModel :
public TSharedFromThis< FNiagaraEmitterViewModel >,
public TNiagaraViewModelManager< UNiagaraEmitter, FNiagaraEmitterViewModel >
The view model for the UNiagaraEmitter objects
Name | Description | |
---|---|---|
|
FNiagaraEmitterViewModel() |
Creates a new emitter editor view model. It must be initialized before use. |
Name | Description | |
---|---|---|
|
~FNiagaraEmitterViewModel() |
Name | Description | ||
---|---|---|---|
|
Cleanup() |
||
|
CreateNewParentWindow |
||
|
const UNiaga... |
GetEditorData() |
Gets editor specific data which can be stored per emitter. |
|
UNiagaraEmit... |
GetEmitter() |
Gets the emitter represented by this view model. |
|
ENiagaraScri... |
GetLatestCompileStatus() |
Get the latest status of this view-model's script compilation. |
|
UNiagaraEmit... |
GetOrCreateEditorData() |
Gets editor specific data which is stored per emitter. |
|
const UNiaga... |
GetParentEmitter() |
Gets the parent emitter for the emitter represented by this view model, if it has one. |
|
GetParentNameText() |
Gets the text representation of the parent emitter name. |
|
|
GetParentPathNameText() |
Gets the text representation of the parent emitter path. |
|
|
TSharedRef< ... |
GetSharedScriptViewModel() |
Geta a view model for the update/spawn Script. |
|
GetSimulation() |
Gets the currently assigned simulation if there is one. |
|
|
GetStatsText() |
Gets text representing stats for the emitter. |
|
|
HasParentEmitter() |
Gets whether or not this emitter has a parent emitter. |
|
|
Initialize ( |
Initialize this view model with an emitter and simulation. |
|
|
FOnEmitterCh... |
OnEmitterChanged() |
Gets a multicast delegate which is called when the emitter for this view model changes to a different emitter. |
|
FOnParentRem... |
OnParentRemoved() |
Gets a delegate which is called when this emitters parent is removed. |
|
FOnPropertyC... |
OnPropertyChanged() |
Gets a delegate which is called when a property on the emitter changes. |
|
FOnScriptCom... |
OnScriptCompiled() |
Gets a delegate which is called when the shared script is compiled. |
|
FOnScriptGra... |
OnScriptGraphChanged() |
Gets a multicast delegate which is called any time a graph on a script owned by this emitter changes. |
|
FOnScriptPar... |
OnScriptParameterStoreChanged() |
Gets a multicast delegate which is called any time a parameter store on a script owned by this emitter changes. |
|
RemoveParentEmitter() |
Removes the parent emitter from this emitter. |
|
|
Reset() |
Resets this view model to initial conditions. |
|
|
SetSimulation ( |
Sets the current simulation for the emitter. |
|
|
UpdateParentEmitter ( |
Name |
Description |
---|---|
ParticleDisabledDueToScalability |
The text format stats to display when an emitter is disabled due to scalability. |
StatsFormat |
The text format stats display . |
StatsParticleCountFormat |
The text format stats to only display particles count. |