Navigation
API > API/Plugins > API/Plugins/ClonerEffector > API/Plugins/ClonerEffector/Cloner > API/Plugins/ClonerEffector/Cloner/Extensions
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UCEClonerExtensionBase
- UCEClonerLifetimeExtension
References
| Module | ClonerEffector |
| Header | /Engine/Plugins/Experimental/ClonerEffector/Source/ClonerEffector/Public/Cloner/Extensions/CEClonerLifetimeExtension.h |
| Include | #include "Cloner/Extensions/CEClonerLifetimeExtension.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, Within=CEClonerComponent, Meta=(Section="Emission", Priority=3))
class UCEClonerLifetimeExtension : public UCEClonerExtensionBase
Remarks
Extension dealing with clones lifetime options
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bLifetimeEnabled | Do we destroy the clones after a specific duration | |
| bool | bLifetimeScaleEnabled | Enable scale by lifetime | |
| float | LifetimeMax | Maximum lifetime for a clone | |
| float | LifetimeMin | Minimum lifetime for a clone | |
| FRichCurve | LifetimeScaleCurve | Rich curve used in the data interface for the lifetime | |
| TWeakObjectPtr< UNiagaraDataInterfaceCurve > | LifetimeScaleCurveDIWeak | Used to expose the scale curve editor in details panel |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| float | |||
| float | |||
| const FRichCurve & | |||
| UNiagaraDataInterfaceCurve * | |||
| bool | |||
| void | |||
| void | SetLifetimeEnabled
(
bool bInEnabled |
||
| void | SetLifetimeMax
(
float InMax |
||
| void | SetLifetimeMin
(
float InMin |
||
| void | SetLifetimeScaleCurve
(
UCurveFloat* InCurve |
||
| void | SetLifetimeScaleCurve
(
const FRichCurve& InCurve |
||
| void | SetLifetimeScaleEnabled
(
bool bInEnabled |
Overridden from UCEClonerExtensionBase
| Type | Name | Description | |
|---|---|---|---|
| void | OnExtensionParametersChanged
(
UCEClonerComponent* InComponent |
Called to reapply extension parameters |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
Called when a property on this object has been modified externally |
Constants
| Name | Description |
|---|---|
| PropertyChangeDispatcher | Used for PECP |