maxscript add new Gradient position
Posted: Fri Oct 18, 2024 3:45 pm
Hi,
I can see how to move a position or to change its color but how can I create a new position ?
change position is ok : rootScene[#SME][#View1][#Map__45____Gradient_Texture].SMENodeAttr.reference.Positions[17] = 0.489231
change color is ok : rootScene[#SME][#View1][#Map__45____Gradient_Texture].SMENodeAttr.reference.color[17] = color 137 188 0
Thanks.
I can see how to move a position or to change its color but how can I create a new position ?
change position is ok : rootScene[#SME][#View1][#Map__45____Gradient_Texture].SMENodeAttr.reference.Positions[17] = 0.489231
change color is ok : rootScene[#SME][#View1][#Map__45____Gradient_Texture].SMENodeAttr.reference.color[17] = color 137 188 0
Thanks.