UParticleSystemComponent::CreateNamedDynamicMaterialInstance

Creates a Dynamic Material Instance for the specified named material override, optionally from the supplied material.

Windows
MacOS
Linux

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

Syntax

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

Parameter

Description

Name

The slot name of the material to replace. If invalid, the material is unchanged and NULL is returned.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss