Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterial
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool SetMaterialUsage
(
EMaterialUsage Usage |
Set the usage flag on this material. | Materials/Material.h | |
bool SetMaterialUsage
(
bool& bNeedsRecompile, |
Materials/Material.h |
SetMaterialUsage(EMaterialUsage)
Description
Set the usage flag on this material.
| Name | SetMaterialUsage |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/Material.h |
| Include Path | #include "Materials/Material.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/Material.cpp |
virtual bool SetMaterialUsage
(
EMaterialUsage Usage
)
true if the material can be used for rendering with the given flag.
SetMaterialUsage(bool &, EMaterialUsage, UMaterialInterface *)
| Name | SetMaterialUsage |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/Material.h |
| Include Path | #include "Materials/Material.h" |
bool SetMaterialUsage
(
bool & bNeedsRecompile,
EMaterialUsage Usage,
UMaterialInterface * MaterialInstance
)