Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterialExpressionComment
- UObject::Modify()
- UMaterialExpression::Modify()
- UMaterialExpressionComment::Modify()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionComment.h |
Include | #include "Materials/MaterialExpressionComment.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp |
virtual bool Modify
&40;
bool bAlwaysMarkDirty
&41;
Remarks
Note that the object will be modified. If we are currently recording into the transaction buffer (undo/redo), save a copy of this object into the buffer and marks the package as needing to be saved. true if the object was saved to the transaction buffer
Parameters
Name | Description |
---|---|
bAlwaysMarkDirty | if true, marks the package dirty even if we aren't currently recording an active undo/redo transaction |