Broadcast()#
Broadcast(tag, d)#
すべての部品、レイアウトのスクリプトに'broadcast'イベントを送信します。 部品、レイアウトの順番に送信します。
パラメータ#
string tag
ユーザー定義のイベントタグの文字列。送信したイベントを識別するために必ず設定してください。
dict d
ユーザー定義のイベントパラメータ。dict型で設定します。
戻り値#
コメント#
サンプル#
1 2 3 | # ユーザー定義タグ'test'を送信。ユーザー定義パラメータは'pm' d = dict(pm=123) vrmapi.LAYOUT().Broadcast('test', d) |