Mtsscene - Adobe ATMOSPHERE User Manual

Table of Contents

Advertisement

timeElem.running = false;
timeElem.path = "http://www.mydomain.com/newPhoto.jpg";
timeElem.running = true;
running
Returns or sets the running state of the timeElement.
curRunningState = timeElem.running
isStreaming
Returns the streaming state of the timeElement (is it actively streaming or not).
if (timeElem.isStreaming)
{
chat.print("Currently downloading the large image you requested...");
}

MTSScene

An MTSScene object is used to represent the container for the instances, geometry and materials within a single
Viewpoint object created by reading in an MTX fi le. This type of object also supports the methods and properties of
MTSBaseObject.
Global Properties
scene
The object representing a Viewpoint scene tree within a ViewpointObject.
dir(scene); // List all the parameters of the top level of the scene tree
Properties
antiAlias
Returns and controls whether antialiasing is active.
scene.antiAlias = 1;
edgeBias
Returns and controls the edge bias for antialiased rendering.
value = scene.edgeBias;
Methods
getInstance(index or name)
Gets a reference to the specifi ed instance. The argument can either be a string or a numeric index.
leg = scene.getInstance("leg");
getInstanceFromIndex(index)
Gets a reference to the specifi ed instance. The index must be an integer greater than or equal to zero.
341
ADOBE ATMOSPHERE
User Guide

Advertisement

Table of Contents
loading

Table of Contents