| grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object-Free API » DataPool() | Version 2.2 |
DataPool 関数は、現在選択されている DataPool を参照し、データプール内のプロパティの読み取りや編集に用いられます。
この関数は、引数を受け取りません。
データプール・オブジェクトに対し Dump 関数を用いて、すべてのプロパティと子を一覧表示しています。また最後に、データプールの最初のシーケンス名も出力しています。
Lua |
return function() -- Dumps information about the datapool object. Printf("=============== START OF DUMP ===============") DataPool():Dump() Printf("================ END OF DUMP ================") -- Prints the name of the first sequence. Printf("Name of sequence 1: " .. DataPool().Sequences[1].Name) end |