Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/UParticleSystemComponent
- UPrimitiveComponent::GetMaterialByName()
- UParticleSystemComponent::GetMaterialByName()
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 UMaterialInterface * GetMaterialByName
(
FName MaterialSlotName
) const
Remarks
Returns the material used by the element in the slot with the specified name. the material used in the slot specified, or null if none exists or the slot name is not found.
Parameters
| Name | Description |
|---|---|
| MaterialSlotName | The slot name to access the material of. |