Mesh.Cylinder(Device,Single,Single,Single,Int32,Int32)
Cylinder メソッド
左手座標系を使い、円柱のメッシュを作成する。
定義
Visual Basic | Public Shared Function Cylinder( _ ByVal device As Device, _ ByVal radius1 As Single, _ ByVal radius2 As Single, _ ByVal length As Single, _ ByVal slices As Integer, _ ByVal stacks As Integer _ ) As Mesh |
C# | public static Mesh Cylinder( Device device, float radius1, float radius2, float length, int slices, int stacks ); |
Managed C++ | public: static Mesh* Cylinder( Device* device, float radius1, float radius2, float length, int slices, int stacks ); |
JScript | public static function Cylinder( device : Device, radius1 : float, radius2 : float, length : float, slices : int, stacks : int ) : Mesh; |
パラメータ
device | Microsoft.DirectX.Direct3D.Device. |
radius1 | System.Single. |
radius2 | System.Single. |
length | System.Single. |
slices | System.Int32. |
stacks | System.Int32. |
戻り値
Microsoft.DirectX.Direct3D.Mesh.
対象
© 2002 Microsoft Corporation. All rights reserved. Terms of use.