VRayColor and Maxscript

How can I access all the parameters inside VRayColor map with Maxscript, like the gamma value? And how do I set the color values? Is there somewhere where I can find all these specific maxscript commands?

showproperties method didn’t help you?

meditMaterials[1]=VRayColor()

showproperties meditMaterials[1]

Output:

.color_mode : integer
.temperature : float
.red : float
.green : float
.blue : float
.rgb_multiplier : float
.alpha : float
.color : color
.color_gamma : float
.rgb_primaries : integer
.gamma_correction : integer
.gamma_value : float

Great….thanks. I am just a hobby programmer:smile:

I wrote a simple thread here, feel free to have a look!

Great reading and learning material.Thanks:sunglasses: