Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/AssetSelection.h |
Include |
#include "AssetSelection.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/AssetSelection.cpp |
static bool ApplyMaterialToActor
(
AActor * TargetActor,
UMaterialInterface * MaterialToApply,
int32 OptionalMaterialSlot
)
Attempts to apply the material to the specified actor.
Attempts to apply the material to the specified actor.
true if the material was successfully applied to the actor
Parameter |
Description |
---|---|
TargetActor |
the actor to apply the material to |
MaterialToApply |
the material to apply to the actor |
OptionalMaterialSlot |
the material slot to apply it to. |
TargetActor |
the actor to apply the material to |
MaterialToApply |
the material to apply to the actor |
OptionalMaterialSlot |
the material slot to apply to. |