Vector3Fixed 構造体
アセンブリ: Microsoft.WindowsMobile.DirectX (microsoft.windowsmobile.directx.dll 内)



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();


Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- Vector3Fixed 構造体のページへのリンク