UMaterialEditingLibrary::HasMaterialUsage

Check if a particular usage is enabled for the supplied material (e.g. SkeletalMesh, ParticleSprite etc)

Windows
MacOS
Linux

References

Module

MaterialEditor

Header

/Engine/Source/Editor/MaterialEditor/Public/MaterialEditingLibrary.h

Include

#include "MaterialEditingLibrary.h"

Source

/Engine/Source/Editor/MaterialEditor/Private/MaterialEditingLibrary.cpp

Syntax

static bool HasMaterialUsage
(
    UMaterial * Material,
    EMaterialUsage Usage
)

Remarks

Check if a particular usage is enabled for the supplied material (e.g. SkeletalMesh, ParticleSprite etc)

Parameters

Parameter

Description

Material

Material to check usage for

Usage

Usage type to check for this material

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