移動先: 概要 Notes. 戻り値 関連項目 MEL の例
setPluginResource(string $pluginName, string $lookUpKey, string $value)
なし
| 変数名 | 変数型 | 説明 |
|---|---|---|
| $pluginName | string | 固有のプラグイン名です(loadPlugin に渡されるとおり)。 |
| $lookUpKey | string | この文字列リソースの固有のキーです。 |
| $value | string | リソースに関連付ける文字列の値です。 |
// Assign resource values that will be used to initialize
// menu item labels for the plugin.
// The plugin name is "myPlugin" and each resource has a unique
// key.
//
setPluginResource("myPlugin", "showBBoxLabel", "Show Bounding Box");
setPluginResource("myPlugin", "hideBBoxLabel", "Hide Bounding Box");