unreal.ParticleModuleLocation

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

Bases: ParticleModuleLocationBase

Particle Module Location

C++ Source:

  • Module: Engine

  • File: ParticleModuleLocation.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • distribute_over_n_points (float): [Read-Write] When set to a non-zero value this will force the particles to only spawn on evenly distributed positions between the two points specified.

  • distribute_threshold (float): [Read-Write] When DistributeOverNPoints is set to a non-zero value, this specifies the ratio of particles spawned that should use the distribution. (For example setting this to 1 will cause all the particles to be distributed evenly whereas .75 would cause 1/4 of the particles to be randomly placed).

  • 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.

  • start_location (RawDistributionVector): [Read-Write] The location the particle should be emitted. Relative in local space to the emitter by default. Relative in world space as a WorldOffset module or when the emitter’s UseLocalSpace is off. Retrieved using the EmitterTime at the spawn of the particle.