Called by Softimage when it unloads a plug-in.
Use this callback to perform any clean-up of resources allocated by the plug-in.
public class <class_name>
{
        public bool Unload( PluginRegistrar in_reg )
        {
                ...
        }
}
 | 
CStatus XSIUnloadPlugin( PluginRegistrar& in_reg )
{ 
        ... 
}
 | 
function XSIUnloadPlugin( in_reg )
{ 
        ... 
}
 | 
def XSIUnloadPlugin( in_reg ):
        ...
 | 
Function XSIUnloadPlugin( in_reg )
        ...
End Function
 | 
sub XSIUnloadPlugin
{ 
        my $in_reg = shift; 
}
 | 
| Parameter | Language | Type | Description | 
|---|---|---|---|
| in_reg | Scripting and C# | PluginRegistrar | The PluginRegistrar for this plugin. | 
| C++ | PluginRegistrar& | 
C++ plug-ins can also register custom displays, display passes, and display callbacks using these PluginRegistrar member functions: