3D Lingo Dictionary > T-Z > width

 

width

Syntax

member(whichCastmember).modelResource(whichModelResource).width
modelResourceObjectReference.width

Description

3D property; allows you to get or set the width of the plane for a model resource whose type is #box or #plane. This property must be greater than 0.0, and has a default setting of 1.0. For objects whose type is #box, the default value of width is 50.0. For objects whose type is #plane, the default setting is 1.0. width is measured along the X axis.

Example

This statement sets the width of the model resource Grass plane to 250.0.

member("3D World").modelResource("Grass plane").width = 250.0