v5.1
CustomOperator PluginItem を登録します。
PluginItem PluginRegistrar.RegisterOperator( String in_name ); |
oReturn = PluginRegistrar.RegisterOperator( Name ); |
パラメータ | タイプ | 説明 |
---|---|---|
Name | String |
登録するカスタムオペレータの名前文字から開始し、英数字とアンダースコア(_)記号のみを使用する必要があります。 オペレータ名にスペースが含まれている場合("My Custom Operator"など)は、コールバック関数名ではスペースを削除する必要があります("MyCustomOperator_Update"など)。 |
function XSILoadPlugin( in_reg ) { in_reg.Author = "ABC" ; in_reg.Name = "ABC plugin" ; in_reg.Major = 1; in_reg.Minor = 0; in_reg.URL = "www.abc.com" // Let Softimage know that this plugin implements this CustomOperator in_reg.RegisterOperator( "myCustomOperator" ) ; return true ; } |