Class ScriptInterfaceHelper
Version added: 14.0
The ScriptInterfaceHelper class is a bit special. It allows you to access sensitive resources that must be released when you're done with them. Unlike most objects, it must be explicitly deleted when you're done using it, like so:
local helper = MOHO.ScriptInterfaceHelper:new_local()
local moho = helper:MohoObject()
print(moho:CountPoints())
helper:delete()
Methods of ScriptInterfaceHelper:
Name | Returns | Description | Ver |
MohoObject MohoObject() | ScriptInterface | Added in version 14.0 | 14.0 |