UParticleModuleMeshMaterial

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/Material/ParticleModuleMeshMaterial.h

Include

#include "Particles/Material/ParticleModuleMeshMaterial.h"

Syntax

class UParticleModuleMeshMaterial : public UParticleModuleMaterialBase

Variables

Name Description

Public variable

TArray< TObject...

 

MeshMaterials

The array of materials to apply to the mesh particles.

Constructors

Name Description

Public function

UParticleModuleMeshMaterial

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UParticleModule

Name Description

Public function Virtual

bool

 

IsValidForLODLevel

(
    UParticleLODLevel* LODLevel,
    FString& OutErrorString
)

Returns true if the module is valid for the provided LOD level.

Public function Virtual

uint32

 

RequiredBytesPerInstance()

Returns the number of bytes the module requires in the emitters 'per-instance' data block.

Public function Virtual

void

 

Spawn

(
    FParticleEmitterInstance* Owne...,
    int32 Offset,
    float SpawnTime,
    FBaseParticle* ParticleBase
)

Called on a particle that is freshly spawned by the emitter.