Returns bounding sphere
| <node3d>.getBoundingSphere( | |
| mode = viz.ABS_PARENT | |
| node = '' |
)
mode = viz.ABS_PARENT
One of the following transform modes:
Transform modes |
|
viz.ABS_PARENTviz.REL_PARENT |
Return the bounding sphere in the parents coordinate system. |
viz.ABS_GLOBALviz.REL_GLOBAL |
Return the bounding sphere in global coordinates. |
viz.ABS_LOCALviz.REL_LOCAL |
Return the bounding sphere in the objects local coordinate system. |
node = ''
Name of subchild to retrive bounding sphere of
This command will return the bounding sphere of the node.
A BoundingSphere object with the following properties:
<BoundingSphere >.radius= The radius of the bounding sphere
<BoundingSphere >.center= The center point of the bounding sphere