次の方法で共有


TextureLoader.ComputeNormalMap(Texture,Texture,PaletteEntry,NormalMap,Channel,Single)

ComputeNormalMap メソッド

高度マップを法線マップに変換する。各法線の (x,y,z) 成分は、出力テクスチャの (r,g,b) チャンネルにマッピングされる。

定義

Visual Basic Public Shared Sub ComputeNormalMap( _
    ByVal texture As Texture, _
    ByVal srcTexture As Texture, _
    ByRef sourcePalette As PaletteEntry, _
    ByVal flags As NormalMap, _
    ByVal channel As Channel, _
    ByVal amplitude As Single _
)
C# public static void ComputeNormalMap(
    Texture texture,
    Texture srcTexture,
    out PaletteEntry sourcePalette,
    NormalMap flags,
    Channel channel,
    float amplitude
);
Managed C++ public: static void ComputeNormalMap(
    Texturetexture,
    TexturesrcTexture,
    PaletteEntrysourcePalette,
    NormalMap flags,
    Channel channel,
    float amplitude
);
JScript public static function ComputeNormalMap(
    texture : Texture,
    srcTexture : Texture,
    sourcePalette : PaletteEntry,
    flags : NormalMap,
    channel : Channel,
    amplitude : float
) : void;

パラメータ

texture Microsoft.DirectX.Direct3D.Texture.
srcTexture Microsoft.DirectX.Direct3D.Texture.
sourcePalette Microsoft.DirectX.Direct3D.PaletteEntry[].
flags Microsoft.DirectX.Direct3D.NormalMap.
channel Microsoft.DirectX.Direct3D.Channel.
amplitude System.Single.

対象

TextureLoader

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