UMaterialExpression::CanEditChange

Called by the editor to query whether a property of this object is allowed to be modified.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpression.h"

Source

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

Syntax

virtual bool CanEditChange
(
    const FProperty * InProperty
) const

Remarks

Called by the editor to query whether a property of this object is allowed to be modified. The property editor uses this to disable controls for properties that should not be changed. When overriding this function you should always call the parent implementation first.

Returns

true if the property can be modified in the editor, otherwise false

Parameters

Parameter

Description

InProperty

The property to query

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