Skip to content

EmitterPool

Class in Engine · Engine.EmitterPool · native, transient, config

Object › Actor › EmitterPool

Using it from Lua
h7.find_all("EmitterPool")            -- live instances
h7.find_class("Engine.EmitterPool")   -- the class
h7.hook("Engine.EmitterPool.ClearPoolComponents", fn)

Structs

EmitterBaseInfo

FieldType
PSCParticleSystemComponent
BaseActor
RelativeLocationvector
RelativeRotationrotator
bInheritBaseScalebool

Properties

NameTypeNotes
ActiveComponentsarray<ParticleSystemComponent>transient
bLogPoolOverflowboolglobalconfig
bLogPoolOverflowListboolglobalconfig
FreeMatInstConstsarray<MaterialInstanceConstant>const, transient, private
FreeSMComponentsarray<StaticMeshComponent>const, transient, private
IdealMaterialInstanceConstantsint
IdealStaticMeshComponentsint
MaxActiveEffectsint
PoolComponentsarray<ParticleSystemComponent>const, transient
PSCTemplateParticleSystemComponentprotected
RelativePSCsarray<EmitterBaseInfo>transient
SMC_MIC_CurrentReductionTimefloattransient
SMC_MIC_ReductionTimefloat

Functions

NameDeclaration
ClearPoolComponentsfinal native function ClearPoolComponents(bool bClearActive = false)
FreeMaterialInstanceConstantsprotected final native function FreeMaterialInstanceConstants(StaticMeshComponent SMC)
FreeStaticMeshComponentsprotected final native function FreeStaticMeshComponents(ParticleSystemComponent PSC)
GetFreeMatInstConstsprotected final native function MaterialInstanceConstant GetFreeMatInstConsts(bool bCreateNewObject = true)
GetFreeStaticMeshComponentprotected final native function StaticMeshComponent GetFreeStaticMeshComponent(bool bCreateNewObject = true)
GetPooledComponentprotected final native function ParticleSystemComponent GetPooledComponent(ParticleSystem EmitterTemplate, bool bAutoActivate)
OnParticleSystemFinishednative function OnParticleSystemFinished(ParticleSystemComponent PSC)
ReturnToPoolprotected final native function ReturnToPool(ParticleSystemComponent PSC)
SpawnEmitternative function ParticleSystemComponent SpawnEmitter(ParticleSystem EmitterTemplate, vector SpawnLocation, optional rotator SpawnRotation, optional Actor AttachToActor, optional Actor InInstigator, optional int MaxDLEPooledReuses, optional bool bInheritScaleFromBase)
SpawnEmitterCustomLifetimenative function ParticleSystemComponent SpawnEmitterCustomLifetime(ParticleSystem EmitterTemplate, optional bool bSkipAutoActivate)
SpawnEmitterMeshAttachmentnative function ParticleSystemComponent SpawnEmitterMeshAttachment(ParticleSystem EmitterTemplate, SkeletalMeshComponent Mesh, name AttachPointName, optional bool bAttachToSocket, optional vector RelativeLoc, optional rotator RelativeRot)

Default values

PSCTemplate=ParticleSystemComponent0
TickGroup=TG_DuringAsyncWork
SMC_MIC_ReductionTime=2.5
IdealStaticMeshComponents=250
IdealMaterialInstanceConstants=250

Inherited

FromMembers
Actor156 properties, 262 functions
Object13 properties, 308 functions