次の方法で共有


BoundingSphere Constructor

Creates a new instance of BoundingSphere.

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

Syntax

public BoundingSphere (
         Vector3 center,
         float radius
)

Parameters

  • center
    Center point of the sphere.
  • radius
    Radius of the sphere.

Exceptions

Exception type Condition
ArgumentException radius is less than zero. radius must be greater than or equal to zero.

See Also

Reference

BoundingSphere Structure
BoundingSphere Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista