unreal.ParticleModuleAcceleration

class unreal.ParticleModuleAcceleration(outer=None, name='None')

Bases: unreal.ParticleModuleAccelerationBase

Particle Module Acceleration

C++ Source:

  • Module: Engine

  • File: ParticleModuleAcceleration.h

Editor Properties: (see get_editor_property/set_editor_property)

  • acceleration (RawDistributionVector): [Read-Write] The initial acceleration of the particle. Value is obtained using the EmitterTime at particle spawn. Each frame, the current and base velocity of the particle is then updated using the formula

    velocity += acceleration * DeltaTime

    where DeltaTime is the time passed since the last frame.

  • always_in_world_space (bool): [Read-Write] If true, then treat the acceleration as world-space

  • apply_owner_scale (bool): [Read-Write] If true, then apply the particle system components scale to the acceleration value.

  • b3d_draw_mode (bool): [Read-Write] If true, the module should render its 3D visualization helper

  • module_editor_color (Color): [Read-Write] The color to draw the modules curves in the curve editor.

    If bCurvesAsColor is true, it overrides this value.