Jump to content

PropertyParameter only giving default value


photo

Recommended Posts

I have a PropertyParameter of type color setup, regardless of what I set the color to in the editor. Only the default color value is given with PropertyParameter.ValueColor

kzUCw5L.png

shows as

IEz0GHd.png

which is the default color as shown

<?xml version="1.0" encoding="utf-8"?>
<property version="2.11.0.0" name="planet_color_settings" parent="node_base" manual="1">
		<parameter name="planet_color" type="color">0 0 0 1</parameter>
</property>

using this C#

face.mesh.SetMaterialParameterFloat4("albedo_color", planetColorParameter.ValueColor, 0);

 

Link to comment
×
×
  • Create New...