次の方法で共有


Geometry.ComputeBoundingSphere メソッド

[このドキュメントはプレビュー版であり、後のリリースで変更されることがあります。 空白のトピックは、プレースホルダーとして挿入されています。]

メッシュの境界球を算出します。

名前空間:  Microsoft.WindowsMobile.DirectX.Direct3D
アセンブリ:  Microsoft.WindowsMobile.DirectX (Microsoft.WindowsMobile.DirectX.dll 内)

構文

'宣言
Public Shared Function ComputeBoundingSphere ( _
    pointsFvf As GraphicsStream, _
    numPoints As Integer, _
    vertexFormat As VertexFormats, _
    <OutAttribute> ByRef center As Vector3 _
) As Single
'使用
Dim pointsFvf As GraphicsStream
Dim numPoints As Integer
Dim vertexFormat As VertexFormats
Dim center As Vector3
Dim returnValue As Single

returnValue = Geometry.ComputeBoundingSphere(pointsFvf, _
    numPoints, vertexFormat, center)
public static float ComputeBoundingSphere(
    GraphicsStream pointsFvf,
    int numPoints,
    VertexFormats vertexFormat,
    out Vector3 center
)
public:
static float ComputeBoundingSphere(
    GraphicsStream^ pointsFvf, 
    int numPoints, 
    VertexFormats vertexFormat, 
    [OutAttribute] Vector3% center
)
static member ComputeBoundingSphere : 
        pointsFvf:GraphicsStream * 
        numPoints:int * 
        vertexFormat:VertexFormats * 
        center:Vector3 byref -> float32 

パラメーター

戻り値

型 : System.Single
返される境界球の半径。

.NET Framework セキュリティ

プラットフォーム

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。 サポートされているバージョンについては、「.NET フレームワークのシステム要件」を参照してください。

バージョン情報

.NET Compact Framework

サポート対象 : 3.5、2.0

参照

参照

Geometry クラス

Geometry メンバー

Microsoft.WindowsMobile.DirectX.Direct3D 名前空間