|
Usage
myModel.setMaterial(surfaceName:String, material:Material) : Void
Parameters
- surfaceName The name of the surface whose material should be set.
- material The material which should be assigned to the surface.
Returns
Nothing.
Description
Method; Assigns a material to the surface surfaceName.
The names of the surfaces of a model are copied directly from the triangle sets of the geometry on which the model is based.
Example
myModel.setMaterial("powerNewTriSet000", myMaterial); |