FParticleEmitterInstance::Resize

Ensures enough memory is allocated for the requested number of particles.

Windows
MacOS
Linux

Override Hierarchy

FParticleEmitterInstance::Resize()

FParticleMeshEmitterInstance::Resize()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ParticleEmitterInstances.h

Include

#include "ParticleEmitterInstances.h"

Source

/Engine/Source/Runtime/Engine/Private/Particles/ParticleEmitterInstances.cpp

Syntax

virtual bool Resize
(
    int32 NewMaxActiveParticles,
    bool bSetMaxActiveCount
)

Remarks

Ensures enough memory is allocated for the requested number of particles.

Returns

bool true if memory is allocated for at least NewMaxActiveParticles.

Parameters

Parameter

Description

NewMaxActiveParticles

The number of particles for which memory must be allocated.

bSetMaxActiveCount

If true, update the peak active particles for this LOD.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss