Navigation
API > API/Editor > API/Editor/PropertyEditor
Description
Evaluates the EditCondition metadata of a property against a live struct instance.
Returns true if the condition is absent or evaluates to true (property is editable). Returns true (fail open) if the condition cannot be parsed or evaluated, so callers never incorrectly suppress a property due to an unrecognised expression. Returns false if the condition evaluates to false (property is not editable).
Supports all condition types handled by the details panel: bool / negation bEnable, !bEnable enum equality DataType == EFoo::Bar, DataType != EFoo::Bar numeric comparisons Count > 0, Scale <= 1.0 logical operators bA && DataType == EFoo::Bar, bA || bB
Function-call conditions (e.g. "SomeFunction()") are not supported and fail open.
| Name | EditConditionEvaluator::UE_EXPERIMENTAL |
| Type | function |
| Header File | /Engine/Source/Editor/PropertyEditor/Public/EditConditionEvaluator.h |
| Include Path | #include "EditConditionEvaluator.h" |
namespace EditConditionEvaluator
{
EditConditionEvaluator::UE_EXPERIMENTAL
(
5. 8,
"The behavior of IsPropertyEditable may be subject to change in the future"
) const
}