Scaleform Studio plugin to Stingray namespace
Related sample code
Related help topics
load_project ( project_name, bundle_name ) : boolean
Loads a Scaleform Studio project.
|
project_name : | string |
The name of the project you want to load. |
bundle_name : | string |
The name of the bundle you want to load. |
boolean |
Returns true if the project loaded successfully, or false otherwise. |
load_project_and_scene ( project_id, scene_id ) : boolean
Loads a Scaleform Studio project.
|
project_id : | string |
The resource id of the project you want to load. |
scene_id : | string? |
The resource id of the scene you want to play at startup. If nothing is specified the default scene is used. 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. |
Related sample code
memory_report ( )
Logs the current Scaleform Studio memory usage.
|
This function does not accept any parameters. |
This function does not return any values. |
send_message ( msgName, args )
Sends a message to all of the loaded Scaleform Studio projects.
|
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. |
Related sample code
unload_project ( )
Unloads a Scaleform Studio project.
|
This function does not accept any parameters. |
This function does not return any values. |
Related sample code
update ( )
Update all loaded Scaleform Studio projects by a time step.
|
This function does not accept any parameters. |
This function does not return any values. |
Related sample code