Rtt - scaleform.Rtt namespace reference - Stingray Lua API Reference

scaleform.Rtt namespace reference

Description

Scaleform Studio plugin to Rtt namespace

Functions

Parameters

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

Returns

boolean

Returns true if the project loaded successfully, or false otherwise.

Parameters

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.
Returns

boolean

Returns true if the project loaded successfully, or false otherwise.

Parameters

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.
Returns
This function does not return any values.
Parameters

rtt_handle :

integer

A handle for a render target

Returns
This function does not return any values.