次の方法で共有


Mesh.Sphere(Device,Single,Int32,Int32)

Sphere メソッド

左手座標系を使い、球を含むメッシュを作成する。

定義

Visual Basic Public Shared Function Sphere( _
    ByVal device As Device, _
    ByVal radius As Single, _
    ByVal slices As Integer, _
    ByVal stacks As Integer _
) As Mesh
C# public static Mesh Sphere(
    Device device,
    float radius,
    int slices,
    int stacks
);
Managed C++ public: static Mesh* Sphere(
    Devicedevice,
    float radius,
    int slices,
    int stacks
);
JScript public static function Sphere(
    device : Device,
    radius : float,
    slices : int,
    stacks : int
) : Mesh;

パラメータ

device Microsoft.DirectX.Direct3D.Device.
radius System.Single.
slices System.Int32.
stacks System.Int32.

戻り値

Microsoft.DirectX.Direct3D.Mesh.

対象

Mesh

© 2002 Microsoft Corporation. All rights reserved. Terms of use.