3D Lingo Dictionary > A-B > boundingSphere |
![]() ![]() ![]() |
boundingSphere
Syntax
member(whichCastmember
).model(whichModel
).boundingSphere member(whichCastmember
).group(whichGroup
).boundingSphere member(whichCastmember
).light(whichLight
).boundingSphere member(whichCastmember
).camera(whichCamera
).boundingSphere
Description
3D model, group, light, and camera property; describes a sphere that contains the model, group, light, or camera and its children.
The value of this property is a list containing the vector position of the center of the sphere and the floating-point length of the sphere's radius.
This property can be tested but not set.
Examples
This example displays the bounding sphere of a light in the message window.
put member("newAlien").light[5].boundingSphere -- [vector(166.8667, -549.6362, 699.5773), 1111.0039]
See also
![]() ![]() ![]() |