Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterial
Syntax
uint8 bUsedAsSpecialEngineMaterial: 1
Remarks
This is a special usage flag that allows a material to be assignable to any primitive type. This is useful for materials used by code to implement certain viewmodes, for example the default material or lighting only material. The cost is that nearly 20x more shaders will be compiled for the material than the average material, which will greatly increase shader compile time and memory usage. This flag should only be enabled when absolutely necessary, and is purposefully not exposed to the UI to prevent abuse.