Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/UParticleSystemComponent
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 |
UFUNCTION (BlueprintCallable, Category="Rendering|Material")
virtual UMaterialInstanceDynamic * CreateNamedDynamicMaterialInstance
(
FName InName,
class UMaterialInterface * SourceMaterial
)
Remarks
Creates a Dynamic Material Instance for the specified named material override, optionally from the supplied material.
Parameters
| Name | Description |
|---|---|
| Name | The slot name of the material to replace. If invalid, the material is unchanged and NULL is returned. |