Mesh.Cylinder メソッドとは? わかりやすく解説

Mesh.Cylinder メソッド

左手座標系使用して円柱を含むメッシュ作成します

名前空間: Microsoft.WindowsMobile.DirectX.Direct3D
アセンブリ: Microsoft.WindowsMobile.DirectX (microsoft.windowsmobile.directx.dll 内)
構文構文

Public Shared Function Cylinder
 ( _
    device As Device, _
    radius1 As Single, _
    radius2 As Single, _
    length As Single, _
    slices As Integer, _
    stacks As Integer _
) As Mesh
Dim device As Device
Dim radius1 As Single
Dim radius2 As Single
Dim length As Single
Dim slices As Integer
Dim stacks As Integer
Dim returnValue As Mesh

returnValue = Mesh.Cylinder(device, radius1, radius2, length, slices, stacks)
public static Mesh Cylinder (
    Device device,
    float radius1,
    float radius2,
    float length,
    int slices,
    int stacks
)
public:
static Mesh^ Cylinder (
    Device^ device, 
    float radius1, 
    float radius2, 
    float length, 
    int slices, 
    int stacks
)
public static Mesh Cylinder (
    Device device, 
    float radius1, 
    float radius2, 
    float length, 
    int slices, 
    int stacks
)
public static function Cylinder
 (
    device : Device, 
    radius1 : float, 
    radius2 : float, 
    length : float, 
    slices : int, 
    stacks : int
) : Mesh

パラメータ

device

作成される円柱メッシュ関連付けられたデバイスを表す Device オブジェクト

radius1

Z 軸の負の側の面の半径。値は 0.0f 以上である必要があります

radius2

Z 軸の正の側の面の半径。値は 0.0f 以上である必要があります

length

z 軸方向円柱長さ

slices

主軸回転軸としたスライスの数。

stacks

主軸沿ったスタックの数。

戻り値
円柱メッシュを表す Mesh オブジェクト

例外例外
例外種類条件

InvalidCallException

メソッド呼び出し無効です。たとえば、メソッドパラメータ無効な値が含まれている場合などです。

OutOfMemoryException

Direct3D は、呼び出し完了するための十分なメモリ割り当てられませんでした

解説解説
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Mesh クラス
Mesh メンバ
Microsoft.WindowsMobile.DirectX.Direct3D 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

Mesh.Cylinder メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Mesh.Cylinder メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS