Adding Properties

When registering a property using the Renderer::AddProperty call, the name of the property to use should also include the plug-in name where the property is defined. Usually this is the current plug-in but it does not necessarily have to be so. For example:

renderer.AddProperty( siRenderPropertyOptions, "MyPlugin.MyRendererProperty" );

 

It is recommended to name the property similar to other renderer properties in XSI, such as "<renderer_name> Render Options".



SOFTIMAGE|XSI v6.01     

Return to Softimage XSI Index