Set/Get the Ogre_Material properties using MaxScript[Solved]

Raymond_nana

04-10-2007 11:08:01

Is there any method to set the "depth write" / "blend type" of the Pass of a Ogre_Material using MaxScript? I used showProperties() to list all the properties of the pass, but I found that for the property "depth write" and "blend type", there is an empty space between the words. So when I put it into the MaxScript, it fails to give me the correct result as it recogize the property name is "depth" only but not "depth write".

I am a newbie of oFusion maybe it is a stupid question :?

Raymond_nana

04-10-2007 11:46:15

Problem Solved.
it can simply use .'depth write' to set the "depth write" on and off :D