Device.MaterialFixed プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Device.MaterialFixed プロパティの意味・解説 

Device.MaterialFixed プロパティ

デバイス現在のマテリアルプロパティ取得または設定します

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

Public Property MaterialFixed As
 MaterialFixed
Dim instance As Device
Dim value As MaterialFixed

value = instance.MaterialFixed

instance.MaterialFixed = value
public MaterialFixed MaterialFixed { get; set;
 }
public:
property MaterialFixed MaterialFixed {
    MaterialFixed get ();
    void set (MaterialFixed value);
}
/** @property */
public MaterialFixed get_MaterialFixed ()

/** @property */
public void set_MaterialFixed (MaterialFixed
 value)
public function get MaterialFixed
 () : MaterialFixed

public function set MaterialFixed
 (value : MaterialFixed)

プロパティ
現在のマテリアルプロパティまたは設定するマテリアルプロパティを表す、MaterialFixed 構造体

例外例外
例外種類条件

InvalidCallException

MaterialFixed 構造体プロパティ無効です。

使用例使用例

MaterialFixed 構造体使用する方法次のコード例示します

' The following code example is from the
' Direct3D Mobile Meshes Sample of the 
' .NET Compact Framework Samples in the
' .NET Framework SDK.

' In this example, meshes are divided into subsets, 
' one for each material.
' Render them in a loop.
Dim i As Integer
For i = 0 To meshMaterials.Length
    ' Set the material and texture for this subset
    device.MaterialFixed = meshMaterials(i)
    device.SetTexture(0, meshTextures(i))
    
    ' Draw the mesh subset
    mesh.DrawSubset(i)
Next i
// The following code example is from the
// Direct3D Mobile Meshes Sample of the
// .NET Compact Framework Samples in the
// .NET Framework SDK.

// Meshes are divided into subsets, one for each material. Render them
 in
// a loop
for( int i=0; i<meshMaterials.Length; i++
 )
{
    // Set the material and texture for this subset
    device.MaterialFixed = meshMaterials[i];
    device.SetTexture(0, meshTextures[i]);

    // Draw the mesh subset
    mesh.DrawSubset(i);
}
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Device クラス
Device メンバ
Microsoft.WindowsMobile.DirectX.Direct3D 名前空間



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

辞書ショートカット

すべての辞書の索引

「Device.MaterialFixed プロパティ」の関連用語

Device.MaterialFixed プロパティのお隣キーワード
検索ランキング

   

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



Device.MaterialFixed プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS