Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterial
Syntax
FGuid StateId
Remarks
Guid that uniquely identifies this material. Any changes to the state of the material that do not appear separately in the shadermap DDC keys must cause this guid to be regenerated! For example, a modification to the Expressions array. Code changes that cause the guid to be regenerated on load should be avoided, as that requires a resave of the content to stop recompiling every load.