3D Lingo Dictionary > T-Z > widthVertices

 

widthVertices

Syntax

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

Description

3D property; allows you to get or set the number of vertices (as an integer) on the X axis of a model resource whose type is #box or #plane. This property must be greater than or equal to 2, and has a default value of 2.

Example

This statement sets the widthVertices property of the model resource Tower to 10. Eighteen polygons (2 * (10-1) triangles) will be used to define the geometry of the model resource along its x axis.

member("3D World").modelResource("Tower").widthVertices = 10