次の方法で共有


Mesh.Polygon(Device,Single,Int32,GraphicsStream)

Polygon メソッド

左手座標系を使い、n 面のポリゴンを含むメッシュを作成する。

定義

Visual Basic Public Shared Function Polygon( _
    ByVal device As Device, _
    ByVal length As Single, _
    ByVal sides As Integer, _
    ByRef adjacency As GraphicsStream _
) As Mesh
C# public static Mesh Polygon(
    Device device,
    float length,
    int sides,
    out GraphicsStream adjacency
);
Managed C++ public: static Mesh* Polygon(
    Devicedevice,
    float length,
    int sides,
    GraphicsStream** adjacency
);
JScript public static function Polygon(
    device : Device,
    length : float,
    sides : int,
    adjacency : GraphicsStream
) : Mesh;

パラメータ

device Microsoft.DirectX.Direct3D.Device.
length System.Single.
sides System.Int32.
adjacency Microsoft.DirectX.Direct3D.GraphicsStream.

戻り値

Microsoft.DirectX.Direct3D.Mesh.

対象

Mesh

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