Object API とは、オブジェクトの関数やメソッドである Lua 関数です。
オブジェクト関数の多くは、引数としてハンドルを取ります。コロン記法で関数を用いると、ほとんどの場合に引数を省略できます。
ハンドルを用いた構文:
object.function(object-handle)
コロン記法による構文:
object:function()
以下のほとんどの例では、コロン記法を使用しています。
下位トピック
- Addr(handle[, handle[, boolean]])
- AddrNative(handle[, handle[, boolean]])
- Children(handle)
- Count(handle)
- Dump (handle)
- Export(handle, string, string)
- Get(handle, string[, integer])
- GetChildClass(handle)
- GetClass(handle)
- GetDependencies(handle)
- GetFader(handle, {[string],[integer]})
- GetFaderText(handle, {[string], [integer]})
- GetReferences(handle)
- GetUIEditor(handle)
- GetUISettings(handle)
- HasActivePlayback(handle)
- Import(handle, string, string)
- Ptr(handle, integer)
- SetFader(handle, {[number], [boolean], [string]})
- ToAddr(handle)