USkineticEffect
Inherits from USceneComponent
Public Functions
Name | |
---|---|
USkineticEffect() | |
void | Play(ESkineticError & Error, EPlayingType PlayingType =EPlayingType::Default) |
void | PlayWithParameters(ESkineticError & Error, EPlayingType PlayingType, FEffectProperties TmpEffectProperties) |
void | Stop(float Time) |
EEffectState | EffectState() |
Public Attributes
Name | |
---|---|
TSoftObjectPtr< USkineticPattern > | PatternReference |
FEffectProperties | EffectProperties |
Public Functions Documentation
function USkineticEffect
USkineticEffect()
Sets default values for this component's properties
function Play
void Play(
ESkineticError & Error,
EPlayingType PlayingType =EPlayingType::Default
)
Play effect build from loaded pattern with parameters set in component. If the effect is already playing, do nothing.
function PlayWithParameters
void PlayWithParameters(
ESkineticError & Error,
EPlayingType PlayingType,
FEffectProperties TmpEffectProperties
)
Parameters:
- Error contains the corresponding error in case of failure.
- PlayingType behavior to adopt if an effect is already playing.
- TmpEffectProperties
Play effect build from loaded pattern with provided parameters. Parameters will not be saved in component.
function Stop
void Stop(
float Time
)
Parameters:
- Time duration of the fadeout before complete stop.
Stop all effect instance started from this component.
function EffectState
EEffectState EffectState()
Return: the current state of the effect.
Get the current state of an effect.
Public Attributes Documentation
variable PatternReference
TSoftObjectPtr< USkineticPattern > PatternReference;
Reference of pattern to build the effect.
variable EffectProperties
FEffectProperties EffectProperties;
Properties passed to Play()
method.
Updated on 2024-05-16 at 15:17:15 +0000