MaterialFixed 構造体とは? わかりやすく解説

MaterialFixed 構造体

マテリアルプロパティ固定小数点構造体指定します

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

Dim instance As MaterialFixed
public struct MaterialFixed
public value class MaterialFixed
public final class MaterialFixed extends ValueType
JScript では、構造体使用できますが、新規に宣言することはできません。
解説解説
使用例使用例

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);
}
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からMaterialFixed 構造体を検索した結果を表示しています。
Weblioに収録されているすべての辞書からMaterialFixed 構造体を検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からMaterialFixed 構造体 を検索

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

辞書ショートカット

すべての辞書の索引

「MaterialFixed 構造体」の関連用語

MaterialFixed 構造体のお隣キーワード
検索ランキング

   

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



MaterialFixed 構造体のページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS