Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/Material
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleMaterialBase
- UParticleModuleMeshMaterial
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
| Type | Name | Description | |
|---|---|---|---|
| TArray< TObjectPtr< class UMaterialInterface > > | MeshMaterials | The array of materials to apply to the mesh particles. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UParticleModuleMeshMaterial
(
const FObjectInitializer& ObjectInitializer |
Overridden from UParticleModule
| Type | Name | Description | |
|---|---|---|---|
| bool | IsValidForLODLevel
(
UParticleLODLevel* LODLevel, |
Returns true if the module is valid for the provided LOD level. | |
| uint32 | Returns the number of bytes the module requires in the emitters 'per-instance' data block. | ||
| void | Spawn
(
FParticleEmitterInstance* Owner, |
Called on a particle that is freshly spawned by the emitter. |