There is a Problem with "SetEmissiveColor"
[Attribute("255 0 255 0", UIWidgets.ColorPicker, "Test Color")]; private ref Color m_Color; m_EmissiveMaterial = ParametricMaterialInstanceComponent.Cast(owner.FindComponent(ParametricMaterialInstanceComponent)); if(m_EmissiveMaterial) m_EmissiveMaterial.SetEmissiveColor(m_Color.PackToInt());
This will work, but not with "Green" Color like RGB(0, 255,0)
i Also tested:
int newColor = ARGB(255, 0, 255, 0); m_EmissiveMaterial.SetEmissiveColor(newColor);
If i use a Red color it will work, but not with green.