Struct: FInstallSystemOptions
struct SYSTEMS_API FInstallSystemOptions;
Reflection-enabled
Specifiers:
- BlueprintType
Set of options for installation of this system.
It uses builder pattern to simplify setting options.
Note that both FInstallSystemOptions::RunBefore
and
FInstallSystemOptions::RunAfter
methods are accumulative, which
means you can specify with them multiple systems required to run before
and/or after this one.
See USystemsWorld::InstallSystem
, USystemsWorld::InstallLambdaSystem
,
USystemsWorld::InstallSystemRaw
Example
Systems.InstallLambdaSystem(BoidsFaceDirectionSystem,
FInstallSystemOptions("BoidsFaceDirection")
.RunBefore("BoidsFaceDirection")
.RunAfter("BoidsApplyImpulse")
.MultiplayerRunOn(ESystemMultiplayerRunOn::ServerAndClient));
Methods
-
FInstallSystemOptions
public: FInstallSystemOptions( FName Name );
Create new options object.
Example
Systems.InstallLambdaSystem(BoidsFaceDirectionSystem, FInstallSystemOptions("BoidsFaceDirection") .RunBefore("BoidsFaceDirection") .RunAfter("BoidsApplyImpulse") .MultiplayerRunOn(ESystemMultiplayerRunOn::ServerAndClient));
Arguments
-
Name
FName Name
Name of system being installed.
-
-
RunAfter
public: FInstallSystemOptions& RunAfter( FName Name );
Add named dependency system that installed system should run after.
Example
Systems.InstallLambdaSystem(BoidsFaceDirectionSystem, FInstallSystemOptions("BoidsFaceDirection") .RunBefore("BoidsFaceDirection") .RunAfter("BoidsApplyImpulse") .MultiplayerRunOn(ESystemMultiplayerRunOn::ServerAndClient));
Arguments
-
Name
FName Name
Name of other system.
-
-
RunBefore
public: FInstallSystemOptions& RunBefore( FName Name );
Add named dependency system that installed system should run before.
Example
Systems.InstallLambdaSystem(BoidsFaceDirectionSystem, FInstallSystemOptions("BoidsFaceDirection") .RunBefore("BoidsFaceDirection") .RunAfter("BoidsApplyImpulse") .MultiplayerRunOn(ESystemMultiplayerRunOn::ServerAndClient));
Arguments
-
Name
FName Name
Name of other system.
-
Documentation built with Unreal-Doc
v1.0.8 tool by PsichiX