SetMaterial (SceneItem)

Introduced

4.0

Description

Assigns a material on the SceneItem. The material will replace the material currently used.

Scripting Syntax

SceneItem.SetMaterial( Material )

C# Syntax

SceneItem.SetMaterial( Object in_pMaterial );

Parameters

Parameter

Type

Description

Material

VariantThe material to assign to this object

This material is an existing material and will be used on the object after the assignment

Return Value

Material

Examples

• See SceneItem.SetMaterial.1.vbs



Autodesk Softimage 2011