meshes.<...>

Return to Introduction  Previous page  Next page

You can access all the mesh definitions for a scene using this collection.

 

Syntax

 

meshes.<mesh id>.<...>

 

For a description of the properties and methods of a mesh, please see the mesh script reference.

 

Examples

 

meshes.cube.materials.facemat.ambient = new Color(1.0,1.0,1.0);  // set the facemat material in 'cube' mesh.

 

See Also

 

Script Reference



Copyright ©2004 Worldweaver Ltd. DX Studio Home