Scaleform Studio plugin to Rtt namespace
load_project ( rtt_handle, project_name, bundle_name, scene_name, width, height ) : booleanLoads a Scaleform Studio project.
|
rtt_handle : | integer | A handle for a render target |
project_name : | string | The name of the project you want to load. |
bundle_name : | string | The name of the bundle you want to load. |
scene_name : | string | The name of the scene in which you want to start. |
width : | integer | The width of the render target |
height : | integer | The height of the render target |
boolean |
Returns true if the project loaded successfully, or false otherwise. |
load_project_and_scene ( rtt_handle, width, height, project_id, scene_id ) : booleanLoads a Scaleform Studio project.
|
rtt_handle : | integer | A handle for a render target |
width : | integer | The width of the render target |
height : | integer | The height of the render target |
project_id : | string | The resource id of the project you want to load. |
scene_id : | string? | The resource id of the scene in which you want to start. The ? notation indicates that this type is optional: there may be zero or one instances of it. |
boolean |
Returns true if the project loaded successfully, or false otherwise. |
send_message ( rtt_handle, msgName, args )Sends a message to all of the loaded Scaleform Studio projects.
|
rtt_handle : | integer | A handle for a render target |
msgName : | string | The name of the message to send. |
args : | any* | A series of arguments that are numbers, strings, or Booleans. The * notation indicates that there may be zero or more instances of the specified type. |
This function does not return any values. |
unload_project ( rtt_handle )Unloads a Scaleform Studio project from a given Rtt.
|
rtt_handle : | integer | A handle for a render target |
This function does not return any values. |