Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- FGCObject
- FNiagaraWorldManager
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraWorldManager.h |
| Include | #include "NiagaraWorldManager.h" |
Syntax
class FNiagaraWorldManager : public FGCObject
Remarks
Manager class for any data relating to a particular world.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObject
(
UObject* InObject |
Objects added here will have a strong reference held. | |
| void | CalculateScalabilityState
(
UNiagaraSystem* System, |
||
| void | CalculateScalabilityState
(
UNiagaraSystem* System, |
||
| void | |||
| void | DestroyAllSystemSimulations
(
UNiagaraSystem* System |
||
| void | DestroyCullProxy
(
UNiagaraSystem* System |
||
| void | DestroySystemInstance
(
FNiagaraSystemInstancePtr& InPtr |
||
| void | DestroySystemSimulation
(
UNiagaraSystem* System |
||
| void | DumpDetails
(
FOutputDevice& Ar |
Dump details about what's inside the world manager. | |
| void | |||
| T & | |||
| void | EnqueueGlobalDeferredCallback
(
TFunction< void()>&& Callback |
This is a threadsafe queue which will execute on the game thread. | |
| UNiagaraDataChannelHandler * | FindDataChannelHandler
(
const UNiagaraDataChannel* Channel |
||
| void | FlushComputeAndDeferredQueues
(
bool bWaitForGPU |
Flush the compute simulation queue and any deferred actions. | |
| void | ForAllSystemSimulations
(
TAction Func |
||
| void | ForAllWorldManagers
(
TAction Func |
||
| FNiagaraWorldManager * | Get
(
const UWorld* World |
||
| TArrayView< const FNiagaraCachedViewInfo > | |||
| UNiagaraComponentPool * | |||
| UNiagaraCullProxyComponent * | GetCullProxy
(
UNiagaraComponent* Component |
||
| FNiagaraDataChannelManager & | |||
| ENiagaraDebugPlaybackMode | |||
| float | |||
| FNiagaraDeferredMethodQueue & | |||
| FVector::FReal | GetLODDistance
(
FVector Location |
Returns the distance to the nearest viewpoint to the give location. Used for a distance on which to base LODs. | |
| UNiagaraParameterCollectionInstance * | GetParameterCollection
(
UNiagaraParameterCollection* Collection |
||
| ENiagaraScalabilityCullingMode | |||
| FNiagaraSystemSimulationRef | GetSystemSimulation
(
ETickingGroup TickGroup, |
||
| UWorld * | GetWorld () |
||
| UWorld * | GetWorld () |
||
| void | Init
(
UWorld* InWorld |
||
| void | InitDataChannel
(
const UNiagaraDataChannel* Channel, |
||
| bool | IsComponentLocalPlayerLinked
(
const USceneComponent* Component |
Is this component in anyway linked to the local player. | |
| void | MarkSimulationForPostActorWork
(
FNiagaraSystemSimulation* SystemSimulation |
||
| void | MarkSimulationsForEndOfFrameWait
(
FNiagaraSystemSimulation* SystemSimulation |
||
| UObject * |
ObjectPoolGetOrCreate
(
UClass* Class, |
Will create a new object or return one from the pool. | |
| T * |
ObjectPoolGetOrCreate
(
bool& bIsExistingObject |
||
| UObject * |
ObjectPoolGetOrCreate
(
UClass* Class |
||
| T * | |||
| void |
ObjectPoolReturn
(
UObject* Obj |
Returns an object to the pool You are expected to do any unregistering of the component and ensuring no references are held. | |
| void | OnComputeDispatchInterfaceDestroyed
(
FNiagaraGpuComputeDispatchInterface* InComputeDispatchInterface |
Gamethread callback to cleanup references to the given ComputeDispatchInterface before it gets deleted on the renderthread. | |
| void | OnPostWorldCleanup
(
bool bSessionEnded, |
||
| void | |||
| void | OnShutdown () |
||
| void | OnStartup () |
||
| void | OnSystemPostChange
(
UNiagaraSystem* System |
||
| void | |||
| void | OnWorldCleanup
(
bool bSessionEnded, |
||
| void | PostActorTick
(
float DeltaSeconds |
Called after all actor tick groups are complete. | |
| void | |||
| void | |||
| void | PreActorTick
(
ELevelTick InLevelTick, |
||
| void | |||
| void | |||
| void | Called before we run end of frame updates, allows us to wait on async work. | ||
| void | PrimePool
(
UNiagaraSystem* System |
||
| void | |||
| void | PrimePoolForAllWorlds
(
UNiagaraSystem* System |
||
| const T & | |||
| void | |||
| void | RegisterWithScalabilityManager
(
UNiagaraComponent* Component, |
||
| void | RemoveDataChannel
(
const UNiagaraDataChannel* Channel |
||
| void | RemoveReferencedObject
(
UObject* InObject |
Removes an object from the WM references. | |
| void | |||
| void | |||
| void | SetDebugPlaybackRate
(
float Rate |
||
| void | |||
| void | SetTickGroupPriority
(
const int32 NiagaraTickGroupIndex, |
||
| bool | ShouldPreCull
(
UNiagaraSystem* System, |
Should we cull an instance of this system at the passed location before it's even been spawned? | |
| bool | ShouldPreCull
(
UNiagaraSystem* System, |
||
| void | SortedSignificanceCull
(
UNiagaraEffectType* EffectType, |
||
| void | Tick
(
ETickingGroup TickGroup, |
||
| void | TickStart
(
float DeltaSeconds |
Called at the very beginning of world ticking. | |
| void | UnregisterWithScalabilityManager
(
UNiagaraComponent* Component, |
||
| void | UpdateScalabilityManagers
(
float DeltaSeconds, |
||
| void | Waits for all currently in flight async work to be completed. |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
Pure virtual that must be overloaded by the inheriting class. | |
| FString | Overload this method to report a name for your referencer |