MaterialCollection.GetAsText
 
 
 

MaterialCollection.GetAsText

Introduced

v5.0

Description

Returns the collection as a string formatted as a comma-separated list of item. GetAsText applies only to collections containing objects derived from SIObject.

C# Syntax

String MaterialCollection.GetAsText();

Scripting Syntax

oString = MaterialCollection.GetAsText();

Return Value

String

Examples

JScript Example

// Log all children of the scene root.
Application.LogMessage( ActiveSceneRoot.Children.GetAsText() );