Navigation
API > API/Plugins > API/Plugins/ClonerEffector > API/Plugins/ClonerEffector/Subsystems
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USubsystem
- UDynamicSubsystem
- UEngineSubsystem
- UCEEffectorSubsystem
References
| Module | ClonerEffector |
| Header | /Engine/Plugins/Experimental/ClonerEffector/Source/ClonerEffector/Public/Subsystems/CEEffectorSubsystem.h |
| Include | #include "Subsystems/CEEffectorSubsystem.h" |
Syntax
UCLASS ()
class UCEEffectorSubsystem :
public UEngineSubsystem ,
public FTickableGameObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UNiagaraDataChannelAsset > | EffectorDataChannelAsset | This represents the data channel structure for effector | |
| TArray< TWeakObjectPtr< UCEEffectorComponent > > | EffectorsWeak | Ordered effectors included in this channel | |
| TMap< FName, TSubclassOf< UCEEffectorExtensionBase > > | ExtensionClasses | Linking name to the extension class |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UCEEffectorExtensionBase * | CreateNewExtension
(
FName InExtensionName, |
Creates a new extension instance for an effector | |
| FName | FindExtensionName
(
TSubclassOf< UCEEffectorExtensionBase > InClass |
Based on a extension class, find extension name | |
| UCEEffectorSubsystem * | Get () |
Get this subsystem instance | |
| UCEEffectorComponent * | GetEffectorByChannelIdentifier
(
int32 InIdentifier |
Get the effector using this channel identifier | |
| TSet< TSubclassOf< UCEEffectorExtensionBase > > | GetExtensionClasses
(
TSubclassOf< UCEEffectorExtensionBase > InExtensionClass |
||
| TSet< TSubclassOf< UCEEffectorExtensionBase > > | |||
| TSet< FName > | |||
| TSet< FName > | GetExtensionNames
(
TSubclassOf< UCEEffectorExtensionBase > InExtensionClass |
||
| bool | IsExtensionClassRegistered
(
UClass* InClass |
||
| FOnEffectorIdentifierChanged::RegistrationType & | |||
| FOnEffectorSetEnabled::RegistrationType & | |||
| FOnSubsystemInitialized::RegistrationType & | |||
| bool | RegisterChannelEffector
(
UCEEffectorComponent* InEffector |
Registers an effector actor to use it within a effector channel | |
| bool | RegisterExtensionClass
(
UClass* InClass |
||
| void | Scan classes and registers them | ||
| void | SetEffectorsEnabled
(
const TSet< UCEEffectorComponent* >& InEffectors, |
Set effectors state and optionally transact | |
| void | SetLevelEffectorsEnabled
(
const UWorld* InWorld, |
Set effectors state in world and optionally transact | |
| bool | UnregisterChannelEffector
(
UCEEffectorComponent* InEffector |
Unregister an effector actor used within a effector channel | |
| bool | UnregisterExtensionClass
(
UClass* InClass |
||
| void | UpdateEffectorChannel
(
const UWorld* InWorld |
Updates all registered effectors |
Overridden from USubsystem
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize
(
FSubsystemCollectionBase& Collection |
Implement this for initialization of instances of the system |
Overridden from FTickableGameObject
| Type | Name | Description | |
|---|---|---|---|
| bool | Used to determine whether the object should be ticked in the editor when there is no gameplay world. |
Overridden from FTickableObjectBase
| Type | Name | Description | |
|---|---|---|---|
| TStatId | GetStatId () |
Return the stat id used to track the performance of this object | |
| ETickableTickType | Virtual that can be overloaded by the inheriting class and is called before first tick. | ||
| bool | IsTickable () |
Virtual that can be overloaded by the inheriting class. | |
| void | Tick
(
float InDeltaSeconds |
Pure virtual that must be overloaded by the inheriting class. |
Typedefs
| Name | Description |
|---|---|
| FOnEffectorIdentifierChanged | |
| FOnEffectorSetEnabled | |
| FOnSubsystemInitialized |
Constants
| Name | Description |
|---|---|
| DataChannelAssetPath | |
| OnEffectorIdentifierChangedDelegate | Broadcasted when this effector identifier changed to update linked cloners |
| OnEffectorSetEnabledDelegate | Delegate to change state of effectors in a world |
| OnSubsystemInitializedDelegate | Broadcasted when this subsystem is initialized |