次の方法で共有


Mesh.Box(Device,Single,Single,Single)

Box メソッド

左手座標系を使い、軸に沿ったボックスを含むメッシュを作成する。

定義

Visual Basic Public Shared Function Box( _
    ByVal device As Device, _
    ByVal width As Single, _
    ByVal height As Single, _
    ByVal depth As Single _
) As Mesh
C# public static Mesh Box(
    Device device,
    float width,
    float height,
    float depth
);
Managed C++ public: static Mesh* Box(
    Devicedevice,
    float width,
    float height,
    float depth
);
JScript public static function Box(
    device : Device,
    width : float,
    height : float,
    depth : float
) : Mesh;

パラメータ

device Microsoft.DirectX.Direct3D.Device.
width System.Single.
height System.Single.
depth System.Single.

戻り値

Microsoft.DirectX.Direct3D.Mesh.

対象

Mesh

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