Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/NiagaraSystemViewModel.h |
Include |
#include "ViewModels/NiagaraSystemViewModel.h" |
class FNiagaraSystemViewModel :
public TSharedFromThis< FNiagaraSystemViewModel >,
public FGCObject,
public FEditorUndoClient,
public FTickableEditorObject,
public TNiagaraViewModelManager< UNiagaraSystem, FNiagaraSystemViewModel >,
public INiagaraParameterDefinitionsSubscriberViewModel
A view model for viewing and editing a UNiagaraSystem.
Name | Description | ||
---|---|---|---|
|
StatDisplayMode |
||
|
StatEvaluationType |
Name | Description | |
---|---|---|
|
FNiagaraSystemViewModel() |
Creates a new view model with the supplied System and System instance. |
Name | Description | |
---|---|---|
|
~FNiagaraSystemViewModel() |
Name | Description | ||
---|---|---|---|
|
TSharedPtr< ... |
AddEmitter ( |
Adds a new emitter to the System. |
|
TSharedPtr< ... |
AddEmitterFromAssetData ( |
Adds a new emitter to the System from an emitter asset data. |
|
AddMessage ( |
Add a serialized message to the Emitter/System this viewmodel is managing. |
|
|
AddStackMessage ( |
Add a serialized message to the target function call node inside a script this viewmodel is managing. |
|
|
Cleanup() |
Act as if the system has been fully destroyed although references might persist. |
|
|
ClearEmitterStats() |
Clear the captures stats for all the emitters in the current system. |
|
|
CompileSystem ( |
Compiles the spawn and update scripts. |
|
|
DeleteEmitters |
Deletes the emitters with the supplied ids from the system |
|
|
DisableEmitters |
Disable the supplied emitters. |
|
|
DisableSelectedEmitters() |
||
|
DumpToText ( |
Export the current state of the system to text. |
|
|
DuplicateEmitters ( |
Duplicates a set of emitters and refreshes everything. |
|
|
ExecuteMessageDelegateAndRefreshMessages ( |
Wrapper to set bPendingMessagesChanged after calling a delegate off of a message link. |
|
|
FocusTab ( |
||
|
GetCanModifyEmittersFromTimeline() |
Gets whether or not emitters can be added from the timeline. |
|
|
UNiagaraCurv... |
GetCurveSelectionViewModel() |
|
|
GetDisplayName() |
||
|
ENiagaraSyst... |
GetEditMode() |
Gets the current editing mode for this system view model. |
|
UNiagaraSyst... |
GetEditorData() |
Gets editor specific data which can be stored per system. |
|
UNiagaraEdit... |
GetEditorOnlyParametersAdapter() |
Helper to get the current System or Emitter's EditorParameters. |
|
TSharedPtr< ... |
GetEmitterHandleViewModelById ( |
Gets an emitter handle view model by ID. Returns an invalid shared ptr if it can't be found. |
|
TSharedPtr< ... |
GetEmitterHandleViewModelForEmitter ( |
Gets an emitter handle view model for the given emitter. |
|
const TArray... |
GetEmitterHandleViewModels() |
Gets an array of the view models for the emitter handles owned by this System. |
|
GetIsEmitterPinned |
Checks whether or not an emitter is pinned in the stack UI |
|
|
GetIsForDataProcessingOnly() |
Gets whether or not this view model is for data processing only and will not be displayed in the UI. |
|
|
ENiagaraScri... |
GetLatestCompileStatus() |
Get the latest status of this view-model's script compilation. |
|
GetMessageLogGuid() |
Get the Guid Key for messages associated with this asset. |
|
|
FOnPinnedEmi... |
GetOnPinnedEmittersChanged() |
Returns a multicast delegate that is broadcast when an emitter pinned state has changed |
|
GetOrderedScriptsForEmitter ( |
Gets all non-event scripts which will execute for an emitter. |
|
|
GetOrderedScriptsForEmitterHandleId ( |
Get all non-event scripts which will execute for an emitter. |
|
|
TSharedPtr< ... |
GetOverviewGraphViewModel() |
Gets the ViewModel for the system overview graph. |
|
GetPinnedEmitterHandles() |
Keeps track of the emitters that are pinned in the stack UI, for persistence |
|
|
TSharedRef< ... |
GetPlaceholderDataInterfaceManager() |
|
|
UNiagaraComp... |
GetPreviewComponent() |
Gets a niagara component for previewing the simulated System. |
|
UNiagaraScra... |
GetScriptScratchPadViewModel() |
|
|
UNiagaraSyst... |
GetSelectionViewModel() |
Gets the a view model representing the selected entries in the overview. |
|
TSharedPtr< ... |
GetSequencer() |
Gets the sequencer for this System for displaying the timeline. |
|
const TArray... |
GetStackModuleDataByEmitterHandleId ( |
Gets the stack module data for the provided emitter handled id, for use in determining dependencies. |
|
const TArray... |
GetStackModuleDataByModuleEntry ( |
Gets the stack module data for the provided module stack entry, for use in determining dependencies. |
|
UNiagaraSyst... |
GetSystem() |
Get access to the underlying system |
|
TSharedPtr< ... |
GetSystemScriptViewModel() |
Gets the view model for the System script. |
|
UNiagaraStac... |
GetSystemStackViewModel() |
Gets the stack view model representing this system. |
|
TSharedPtr< ... |
GetToolkitCommands() |
Gets the system toolkit command list. |
|
Initialize ( |
Initializes this system view model with the supplied system and options. |
|
|
IsolateEmitters |
Isolates the supplied emitters. This will remove all other emitters from isolation. |
|
|
IsolateSelectedEmitters() |
||
|
IsValid() |
Returns whether or not this view model is initialized and safe to use. |
|
|
NotifyDataObjectChanged ( |
Called to notify the system view model that one of the data objects in the system was modified. |
|
|
NotifyParameterRemovedExternally ( |
||
|
NotifyParameterRenamedExternally ( |
||
|
NotifyPreClose() |
||
|
NotifyPreSave() |
||
|
FOnEmitterHa... |
OnEmitterHandleViewModelsChanged() |
Gets a multicast delegate which is called any time the array of emitter handle view models changes. |
|
TArray< floa... |
OnGetPlaybackSpeeds() |
|
|
FOnExternalR... |
OnParameterRemovedExternally() |
|
|
FOnExternalR... |
OnParameterRenamedExternally() |
|
|
FOnPostSeque... |
OnPostSequencerTimeChanged() |
Gets a multicast delegate which is called whenever we've received and handled a sequencer time update. |
|
FOnPreClose ... |
OnPreClose() |
|
|
FOnRequestFo... |
OnRequestFocusTab() |
|
|
FOnSystemCom... |
OnSystemCompiled() |
Gets a multicast delegate which is called whenever the system has been compiled. |
|
RefreshAll() |
Reinitializes all System instances, and rebuilds emitter handle view models and tracks. |
|
|
RemoveMessage ( |
Remove a serialized message from the Emitter/System this viewmodel is managing. |
|
|
RemoveStackMessage ( |
Remove a serialized message from the target function call node inside a script this viewmodel is managing. |
|
|
RequestResetSystem() |
Resets the System instance to initial conditions on the next tick. |
|
|
ResetSystem() |
Resets the System instance to initial conditions. |
|
|
ResetSystem ( |
Resets the system instance to initial conditions. |
|
|
SetEmitterPinnedState ( |
Sets an internal state when an emitter was pinned/unpinned in the stack UI |
|
|
SetToolkitCommands ( |
Set the system toolkit command list. |
|
|
ToggleEmitterIsolation |
Toggles the isolation state of a single emitter. |
|
|
UpdateEmitterFixedBounds() |
Updates all selected emitter's fixed bounds with their current dynamic bounds. |
|
|
UpdateSystemFixedBounds() |
Updates the current system's fixed bounds with its current dynamic bounds. |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
Pure virtual that must be overloaded by the inheriting class. |
|
|
GetReferencerName() |
Use this method to report a name for your referencer. |
Name | Description | ||
---|---|---|---|
|
GetStatId() |
Return the stat id to use for this tickable |
|
|
IsTickable() |
Virtual that can be overloaded by the inheriting class. |
|
|
Tick ( |
Name | Description | ||
---|---|---|---|
|
INiagaraPara... |
GetParameterDefinitionsSubscriber() |
Name |
Description |
|
---|---|---|
|
FEmitterHandleToDuplicate |
Name |
Description |
|
---|---|---|
|
EMultiResetMode |
Defines different multi-system reset modes for this system view model |
|
EReinitMode |
Defines different initialization modes when resetting for this system view model |
|
ETimeResetMode |
Defines different time reset modes for this system view model |