Mesh.Cylinder(Device,Single,Single,Single,Int32,Int32,GraphicsStream)
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, _ ByRef adjacency As GraphicsStream _ ) As Mesh |
C# | public static Mesh Cylinder( Device device, float radius1, float radius2, float length, int slices, int stacks, out GraphicsStream adjacency ); |
Managed C++ | public: static Mesh* Cylinder( Device* device, float radius1, float radius2, float length, int slices, int stacks, GraphicsStream** adjacency ); |
JScript | public static function Cylinder( device : Device, radius1 : float, radius2 : float, length : float, slices : int, stacks : int, adjacency : GraphicsStream ) : Mesh; |
パラメータ
device | Microsoft.DirectX.Direct3D.Device. |
radius1 | System.Single. |
radius2 | System.Single. |
length | System.Single. |
slices | System.Int32. |
stacks | System.Int32. |
adjacency | Microsoft.DirectX.Direct3D.GraphicsStream. |
戻り値
Microsoft.DirectX.Direct3D.Mesh.
対象
© 2002 Microsoft Corporation. All rights reserved. Terms of use.