Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/UParticleSystemComponent
- UPrimitiveComponent::SetMaterial()
- UParticleSystemComponent::SetMaterial()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Particles/ParticleSystemComponent.h |
| Include | #include "Particles/ParticleSystemComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Particles/ParticleComponents.cpp |
virtual void SetMaterial
&40;
int32 ElementIndex,
UMaterialInterface &42; Material
&41;
Remarks
Changes the material applied to an element of the mesh. the material used by the indexed element of this mesh.
Parameters
| Name | Description |
|---|---|
| ElementIndex | The element to access the material of. |