I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

Difference between revisions of "UE3:ParticleModuleSpawnPerUnit (UT3)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Auto-generated page)
 
(Talk)
 
Line 22: Line 22:
 
The tolerance for moving vs. not moving w.r.t. the bIgnoreSpawnRateWhenMoving flag.
 
The tolerance for moving vs. not moving w.r.t. the bIgnoreSpawnRateWhenMoving flag.
 
Ie, if (DistanceMoved < (UnitScalar * MovementTolerance)) then consider it not moving.
 
Ie, if (DistanceMoved < (UnitScalar * MovementTolerance)) then consider it not moving.
 +
 +
'''Default value:''' 0.1
  
 
====SpawnPerUnit====
 
====SpawnPerUnit====
Line 39: Line 41:
 
| {{tl|RawDistribution||Object structs|LookupTable}}
 
| {{tl|RawDistribution||Object structs|LookupTable}}
 
|  
 
|  
#0.0
 
#0.0
 
#0.0
 
#0.0
 
 
#0.0
 
#0.0
 
#0.0
 
#0.0

Latest revision as of 07:40, 23 May 2008

UT3 Object >> ParticleModule >> ParticleModuleSpawnBase >> ParticleModuleSpawnPerUnit
Package: 
Engine
This class in other games:
UDK

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties[edit]

Property group 'Spawn'[edit]

bIgnoreSpawnRateWhenMoving[edit]

Type: bool

If TRUE, process the default spawn rate when not moving... When not moving, skip the default spawn rate. If FALSE, return the bProcessSpawnRate setting.

MovementTolerance[edit]

Type: float

The tolerance for moving vs. not moving w.r.t. the bIgnoreSpawnRateWhenMoving flag. Ie, if (DistanceMoved < (UnitScalar * MovementTolerance)) then consider it not moving.

Default value: 0.1

SpawnPerUnit[edit]

Type: DistributionFloat.RawDistributionFloat

The amount to spawn per meter distribution. The value is retrieved using the EmitterTime.

Default value:

Member Value
Distribution RequiredDistributionSpawnPerUnit
LookupTable
  1. 0.0
  2. 0.0
  3. 0.0
  4. 0.0
LookupTableChunkSize 1
LookupTableNumElements 1
Op 1

UnitScalar[edit]

Type: float

The scalar to apply to the distance travelled. The value from SpawnPerUnit is divided by this value to give the actual number of particles per unit.

Default value: 50.0

Default values[edit]

Property Value
bSpawnModule True