I'm a doctor, not a mechanic

UE3:UTEmitterPool (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Actor >> EmitterPool >> UTEmitterPool
Package: 
UTGame
This class in other games:
UT3


Properties

RelativeExplosionLights

Type: array<AttachedExplosionLight>


Default values

Property Value
IdealMaterialInstanceConstants 200
IdealStaticMeshComponents 200
MaxActiveEffects 200
SMC_MIC_ReductionTime 2.0

Subobjects

ParticleSystemComponent0

Class: Engine.ParticleSystemComponent

Inherits from: EmitterPool.ParticleSystemComponent0

Property Value
bOverrideLODMethod True
LODMethod PARTICLESYSTEMLODMETHOD_DirectSet
ReplacementPrimitive None

Structs

AttachedExplosionLight

Modifiers: native

info about attached explosion lights

UTExplosionLight Light 
Actor Base 
Object.Vector RelativeLocation 

Instance functions

OnExplosionLightFinished

function OnExplosionLightFinished (UTExplosionLight Light)

hooked up to UTExplosionLight's OnLightFinished delegate to clean it up

SpawnEmitter

function ParticleSystemComponent SpawnEmitter (ParticleSystem EmitterTemplate, Object.Vector SpawnLocation, optional Object.Rotator SpawnRotation, optional Actor AttachToActor)

Overrides: EmitterPool.SpawnEmitter

(Description copied from EmitterPool.SpawnEmitter)
plays the specified effect at the given location and rotation, taking a component from the pool or creating as necessary

Parameters:

  • EmitterTemplate - particle system to create
  • SpawnLocation - location to place the effect in world space
  • SpawnRotation - opt) - rotation to place the effect in world space
  • AttachToActor - opt) - if specified, component will move along with this Actor

Returns:

the ParticleSystemComponent the effect will use

Note: the component is returned so the caller can perform any additional modifications (parameters, etc), but it shouldn't keep the reference around as the component will be returned to the pool as soon as the effect is complete

SpawnExplosionLight

function UTExplosionLight SpawnExplosionLight (class<UTExplosionLightLightClass, Object.Vector SpawnLocation, optional Actor AttachToActor)

creates an explosion light (currently not pooled)