GetClass(handle)

grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object-Free API » GetClass(handle)
Version 2.2

説明

GetClass 関数は、オブジェクトのクラスに関する情報を含む文字列を返します。

引数

  • handle:
    light_userdata 型のハンドルです。オブジェクトでコロン記法を用いる場合は省略できます。

戻り値

  • string:
    オブジェクトのクラス名を含む文字列を返します。

選択したシーケンスのクラス名を出力します。

Lua
return function()
-- Gets the class name of the selected sequence.
Printf("The class name is " .. SelectedSequence():GetClass())
end