次の方法で共有


BoundingSphere.CreateFromBoundingBox Method (BoundingBox, BoundingSphere)

Creates the smallest BoundingSphere that can contain a specified BoundingBox.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static void CreateFromBoundingBox (
         ref BoundingBox box,
         out BoundingSphere result
)

Parameters

See Also

Reference

BoundingSphere Structure
BoundingSphere Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista