説明
GetUISettings 関数は、オブジェクトのUI設定名を含む文字列を返します。
引数
- handle:
light_userdata 型のハンドルです。オブジェクトでコロン記法を用いる場合は省略できます。
戻り値
- string:
オブジェクトのUI設定名を含む文字列を返します。
例
選択したシーケンスの設定名を出力します。
|
return function() local selectedSequence = SelectedSequence() local seqSettings = selectedSequence:GetUISettings() if seqSettings ~= nil then Printf("The name of the settings is: " .. seqSettings) else Printf("The object doesn not appear to have an editor.") end end |