For example, If you try to call GetMaterialOpacityMaskClipValue() from a custom node, the editor will report a compilation error, as shown in the attached image.
[Link Removed]
[SM5] /Engine/Generated/Material.ush(2025,8-40): error X3004: undeclared identifier 'GetMaterialOpacityMaskClipValue'
This is because the functions in the MaterialTemplate.ush are declared after the CustomNode.
Putting these forward declarations or moving the custom node location to backward enables to access these functions from custom node.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-116844 in the post.
1 |
Component | UE - Graphics Features |
---|---|
Target Fix | 5.1 |
Created | May 31, 2021 |
---|---|
Resolved | Mar 22, 2022 |
Updated | Dec 2, 2022 |