Files
UnrealEngineUWP/Engine/Source/Editor/MaterialEditor/Public
jason nadro 78067cfbf3 Don't display material parameters in the Instance Editor if they are marked as using custom primitive data.
- CPD parameters pull their data from the primitive, not from the material so displaying these parameters for the user to edit was confusing since they wouldn't do anything.
- Cache off transient state on the UDEditorParameterValue on whether or not this is a CPD parameter.
- Pull that info from the parameter metadata if PrimitiveDataIndex != INDEX_NONE
- Adds helper function UsesCustomPrimitiveData(UDEditorParameterValue* Parameter) that determines if the parameter uses CPD.

#jira UE-177153
#tests Creating a material with a CPD parameter, making a MI from it, and verifying the parameter did not show up in the instance editor
[RN] minor, Rendering / Materials and Shaders
#rb massimo.tristano
[FYI] bree.levy, Colton.Daniels

[CL 35453055 by jason nadro in ue5-main branch]
2024-08-12 11:01:31 -04:00
..