unreal.PSCPoolMethod

class unreal.PSCPoolMethod

Bases: unreal.EnumBase

EPSCPool Method

C++ Source:

  • Module: Engine

  • File: WorldPSCPool.h

AUTO_RELEASE

PSC is allocated from the pool and will be automatically released back to it. User need not handle this any more that other PSCs but interaction with the PSC after the tick it’s spawned in are unsafe. This method is useful for one-shot fx that you don’t need to keep a reference to and can fire and forget.

Type

1

MANUAL_RELEASE

PSC is allocated from the pool but will NOT be automatically released back to it. User has ownership of the PSC and must call ReleaseToPool when finished with it otherwise the PSC will leak. Interaction with the PSC after it has been released are unsafe. This method is useful for persistent FX that you need to modify parameters upon etc over it’s lifetime.

Type

2

NONE

PSC is will be created fresh and not allocated from the pool.

Type

0