Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FParticleEmitterInstance
- FParticleMeshEmitterInstance
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ParticleEmitterInstances.h |
| Include | #include "ParticleEmitterInstances.h" |
Syntax
struct FParticleMeshEmitterInstance : public FParticleEmitterInstance
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< UMaterialInterface * > | CurrentMaterials | The materials to render this instance with. | |
| int32 | MeshMotionBlurOffset | ||
| bool | MeshRotationActive | ||
| int32 | MeshRotationOffset | ||
| UParticleModuleTypeDataMesh * | MeshTypeData |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| ConstructorStructure for mesh emitter instancesConstructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetMeshMaterials
(
TArray< UMaterialInterface*, TInlineAllocator< 2 > >& OutMaterials, |
Gets the materials applied to each section of a mesh. |
Overridden from FParticleEmitterInstance
| Type | Name | Description | |
|---|---|---|---|
| bool | FillReplayData
(
FDynamicEmitterReplayDataBase& OutData |
Captures dynamic replay data for this particle system. | |
| void | GatherMaterialRelevance
(
FMaterialRelevance* OutMaterialRelevance, |
Gathers material relevance flags for this emitter instance. | |
| void | GetAllocatedSize
(
int32& OutNum, |
Retrieve the allocated size of this instance. | |
| FDynamicEmitterDataBase * | GetDynamicData
(
bool bSelected, |
Retrieves the dynamic data for the emitter | |
| int32 | Returns the offset to the mesh rotation payload, if any. | ||
| FDynamicEmitterReplayDataBase * | Retrieves replay data for the emitter | ||
| void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Returns the size of the object/ resource for display to artists/ LDs in the Editor. | |
| void | Init () |
Initialize the instance | |
| void | InitParameters
(
UParticleEmitter* InTemplate, |
||
| bool | IsDynamicDataRequired
(
UParticleLODLevel* CurrentLODLevel |
Checks some common values for GetDynamicData validity | |
| bool | Returns true if mesh rotation is active. | ||
| void | PostSpawn
(
FBaseParticle* Particle, |
Handle any post-spawning actions required by the instance | |
| uint32 | Retrieved the per-particle bytes that this emitter type requires. | ||
| bool | Resize
(
int32 NewMaxActiveParticles, |
Resize the particle data array | |
| void | SetMeshMaterials
(
const TArray< UMaterialInterface* >& InMaterials |
Sets the materials with which mesh particles should be rendered. | |
| void | Tick
(
float DeltaTime, |
Tick the instance. | |
| void | Tick_MaterialOverrides
(
int32 EmitterIndex |
Ticks the emitter's material overrides. | |
| void | UpdateBoundingBox
(
float DeltaTime |
Update the bounding box for the emitter |