UMaterial::IsPropertyActiveInEditor

Like [IsPropertyActive()](API\Runtime\Engine\Materials\UMaterial\IsPropertyActive), but should be used in context of editor.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/Material.h

Include

#include "Materials/Material.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/Material.cpp

Syntax

bool IsPropertyActiveInEditor
(
    EMaterialProperty InProperty
) const

Remarks

Like IsPropertyActive(), but should be used in context of editor. For example, there is an optimization that transforms masked materials into opaque materials in certain situations. If this optimization is active, the opacity mask input will no longer be active normally (since blend mode will be reported as opaque), but we still want to be able to connect this input from within the material editor.

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