Source

UnrealMagicOfDoomOhYeah / EmitterPool.txt

Full commit
Engine/Classes/EmitterPool.uc
class EmitterPool extends Actor

    function OnParticleSystemFinished(ParticleSystemComponent PSC)
    function ParticleSystemComponent SpawnEmitter(ParticleSystem EmitterTemplate, vector SpawnLocation, optional rotator SpawnRotation, optional Actor AttachToActor)
    function ParticleSystemComponent SpawnEmitterCustomLifetime(ParticleSystem EmitterTemplate)
    function ParticleSystemComponent SpawnEmitterMeshAttachment( ParticleSystem EmitterTemplate, SkeletalMeshComponent Mesh, name AttachPointName, optional bool bAttachToSocket, optional vector RelativeLoc, optional rotator RelativeRot )
    native final function ClearPoolComponents();
    protected native final function FreeMaterialInstanceConstants(StaticMeshComponent SMC);
    protected native final function FreeStaticMeshComponents(ParticleSystemComponent PSC);
    protected native final function MaterialInstanceConstant GetFreeMatInstConsts(bool bCreateNewObject = true);
    protected native final function ParticleSystemComponent GetPooledComponent(ParticleSystem EmitterTemplate);
    protected native final function ReturnToPool(ParticleSystemComponent PSC);
    protected native final function StaticMeshComponent GetFreeStaticMeshComponent(bool bCreateNewObject = true);