3D Lingo Dictionary > O-S > radius

 

radius

Syntax

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

Description

3D model property; when used with model resource of type #sphere or #cylinder, allows you to get or set the radius of the model.

The radius property determines the sweep radius used to generate the model resource. This property's value must always be set to greater than 0.0, and has a default value of 25.0.

Example

This example shows that the radius of the model resource Sphere01 is 24.0.

put member("3D World").modelResource("Sphere01").radius
-- 24.0