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

Vector3Fixed 構造体

3 次元 (3-D) 空間ベクタ表します

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

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

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

    ' This example is taken from the
    ' Direct3D Mobile Fixed Point Lighting Sample
    ' of the .NET Compact Framework Samples in
    ' the .NET Framework SDK Samples.

    Select Case device.LightsFixed(2).Type
        Case LightType.Point
            device.LightsFixed(2).Position = New Vector3Fixed(4.5F
 * x, 4.5F * y, 4.5F * z)
            device.LightsFixed(2).Attenuation1 = 0.4F
        Case LightType.Directional
            device.LightsFixed(2).Direction = New Vector3Fixed(x,
 y, z)
    End Select
    device.LightsFixed(2).Update()
End Sub
// This example is taken from the
// Direct3D Mobile Fixed Point Lighting Sample
// of the .NET Compact Framework Samples in
// the .NET Framework SDK Samples.

switch(device.LightsFixed[2].Type)
    {
        case LightType.Point:
            device.LightsFixed[2].Position =
                new Vector3Fixed(4.5f * x, 4.5f * y, 4.5f * z);
            device.LightsFixed[2].Attenuation1  = 0.4f;
            break;
        case LightType.Directional:
            device.LightsFixed[2].Direction =
                new Vector3Fixed(x, y, z);
            break;
    }
        device.LightsFixed[2].Update();
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

「Vector3Fixed 構造体」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS