unreal.DestructibleDebrisParameters

class unreal.DestructibleDebrisParameters

Bases: unreal.StructBase

Parameters that pertain to chunk debris-level settings.

C++ Source:

  • Plugin: ApexDestruction

  • Module: ApexDestruction

  • File: DestructibleMesh.h

Editor Properties: (see get_editor_property/set_editor_property)

  • debris_lifetime_max (float): [Read-Write] Debris Lifetime Max

  • debris_lifetime_min (float): [Read-Write] Debris Lifetime Min: “Debris chunks” (see debrisDepth, above) will be destroyed after a time (in seconds) separated from non-debris chunks. The actual lifetime is interpolated between these two bDebrisTimeout, based upon the module’s LOD setting. To disable lifetime, clear the bDebrisTimeout flag in the flags field. If debrisLifetimeMax < debrisLifetimeMin, the mean of the two is used for both. Default debrisLifetimeMin = 1.0, debrisLifetimeMax = 10.0f.

  • debris_max_separation_max (float): [Read-Write] Debris Max Separation Max

  • debris_max_separation_min (float): [Read-Write] Debris Max Separation Min: “Debris chunks” (see debrisDepth, above) will be destroyed if they are separated from their origin by a distance greater than maxSeparation. The actual maxSeparation is interpolated between these two values, based upon the module’s LOD setting. To disable maxSeparation, clear the bDebrisMaxSeparation flag in the flags field. If debrisMaxSeparationMax < debrisMaxSeparationMin, the mean of the two is used for both. Default debrisMaxSeparationMin = 1.0, debrisMaxSeparationMax = 10.0f.

  • valid_bounds (Box): [Read-Write] Valid Bounds: “Debris chunks” (see debrisDepth, above) will be destroyed if they leave this box. The box translates with the destructible actor’s initial position, but does not rotate or scale.