I don't need to test my programs. I have an error-correcting modem.

UE3:UTEmitterPool (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> Actor >> EmitterPool >> UTEmitterPool
Package: 
UTGame
This class in other games:
UDK

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

Properties

RelativeExplosionLights

Type: array<AttachedExplosionLight>


Default values

Property Value
IdealMaterialInstanceConstants 200
IdealStaticMeshComponents 200
MaxActiveEffects 200

Subobjects

ParticleSystemComponent0

Class: Engine.ParticleSystemComponent

Inherits from: EmitterPool.ParticleSystemComponent0

Property Value
bOverrideLODMethod True
LODMethod PARTICLESYSTEMLODMETHOD_DirectSet

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)