3D Lingo Dictionary > E-K > heightVertices |  |

heightVertices

Syntax

    member(whichCastmember).modelResource(whichModelResource).heightVertices

Description

3D `#box` model resource property; indicates the number of mesh vertices along the height of the box. Increasing this value increases the number of faces, and therefore the fineness, of the mesh.

The height of a box is measured along its Y axis.

Set the `renderStyle` property of a model's shader to `#wire` to see the faces of the mesh of the model's resource. Set the `renderStyle` property to `#point` to see just the vertices of the mesh.

The value of this property must be greater than or equal to 2. The default value is 4.

Example

This statement sets the `heightVertices` property of the model resource named Tower to 10. Nine polygons will be used to define the geometry of the model resource along its Z axis; therefore, there will be ten vertices.

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

See also

`height`