-- matte fn MatteFilterSetFn theNode theValue = ( setUserProp theNode "VRay_Matte_Enable" theValue ) fn MatteFilterGetFn theNode = ( if (getUserProp theNode "VRay_Matte_Enable") == undefined then return false else getUserProp theNode "VRay_Matte_Enable" ) SceneExplorerManager.AddProperty "Matte" MatteFilterGetFn MatteFilterSetFn -- object id fn IdFilterSetFn theNode theValue = ( setProperty theNode "gbufferChannel" (theValue as integer) ) fn IdFilterGetFn theNode = ( getProperty theNode "gbufferChannel" ) SceneExplorerManager.AddProperty "Object ID" IdFilterGetFn IdFilterSetFn