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
パラメーター
- pointsFvf
型 : Microsoft.WindowsMobile.DirectX.GraphicsStream
境界球が作成された中心の点を格納している GraphicsStream オブジェクト。
- numPoints
型 : System.Int32
頂点の数。
- vertexFormat
型 : Microsoft.WindowsMobile.DirectX.Direct3D.VertexFormats
渡される頂点の形式を指定する VertexFormats オブジェクト。
- center
型 : Microsoft.WindowsMobile.DirectX.Vector3%
返される境界球の座標の中心を定義する Vector3 構造体。
戻り値
型 : 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