3D Lingo Dictionary > O-S > resolution

 

resolution

Syntax

member(whichCastmember).modelResource(whichModelResource).resolution

Description

3D property; allows you to get or set the resolution property of a model resource whose type is either #sphere or #cylinder.

Resolution controls the number of polygons used to generate the geometry of the model resource. A larger value generates more polygons and thus results in a smoother surface. The default value of this property is 20.

Example

This statement sets the resolution of the model resource named sphere01 to 10.0.

member("3D World").modelResource("sphere01").resolution = 10.0