Frame.CalculateBoundingSphere Method
|
Language: |
Note: This documentation is preliminary and is subject to change.
Computes the bounding sphere of all meshes in the frame hierarchy.
Definition
Visual Basic .NET |
Public Shared Function CalculateBoundingSphere( _ ByVal frameRoot As Frame, _ ByRef center As Vector3 _ ) As Single |
C# |
public static float CalculateBoundingSphere( Frame frameRoot, out Vector3 center ); |
Managed C++ |
public: static float CalculateBoundingSphere( Frame *frameRoot, Vector3 *center ); |
JScript .NET |
public static function CalculateBoundingSphere( frameRoot : Frame, center : Vector3 ) :
float; |
Parameters
Return Value
System.Single
. Floating-point value that represents the radius of the bounding sphere.
Remarks
Exceptions
InvalidCallException
|
The method call is invalid. For example, a method's parameter might contain an invalid value. |
OutOfMemoryException  |
Microsoft® Direct3D® could not allocate sufficient memory to complete the call. |
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center