unreal.CEClonerLifetimeExtension

class unreal.CEClonerLifetimeExtension(outer: Object | None = None, name: Name | str = 'None')

Bases: CEClonerExtensionBase

Extension dealing with clones lifetime options

C++ Source:

  • Plugin: ClonerEffector

  • Module: ClonerEffector

  • File: CEClonerLifetimeExtension.h

Editor Properties: (see get_editor_property/set_editor_property)

  • lifetime_enabled (bool): [Read-Write] Do we destroy the clones after a specific duration

  • lifetime_max (float): [Read-Write] Maximum lifetime for a clone

  • lifetime_min (float): [Read-Write] Minimum lifetime for a clone

  • lifetime_scale_enabled (bool): [Read-Write] Enable scale by lifetime

get_lifetime_enabled() bool

Get Lifetime Enabled

Return type:

bool

get_lifetime_max() float

Get Lifetime Max

Return type:

float

get_lifetime_min() float

Get Lifetime Min

Return type:

float

get_lifetime_scale_enabled() bool

Get Lifetime Scale Enabled

Return type:

bool

set_lifetime_enabled(enabled) None

Set Lifetime Enabled

Parameters:

enabled (bool)

set_lifetime_max(max) None

Set Lifetime Max

Parameters:

max (float)

set_lifetime_min(min) None

Set Lifetime Min

Parameters:

min (float)

set_lifetime_scale_curve(curve) None

Set Lifetime Scale Curve

Parameters:

curve (CurveFloat)

set_lifetime_scale_enabled(enabled) None

Set Lifetime Scale Enabled

Parameters:

enabled (bool)