SceneLightingEffect.NormalMapSource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The normal map for the effect.
public:
property IGraphicsEffectSource ^ NormalMapSource { IGraphicsEffectSource ^ get(); void set(IGraphicsEffectSource ^ value); };
IGraphicsEffectSource NormalMapSource();
void NormalMapSource(IGraphicsEffectSource value);
public IGraphicsEffectSource NormalMapSource { get; set; }
var iGraphicsEffectSource = sceneLightingEffect.normalMapSource;
sceneLightingEffect.normalMapSource = iGraphicsEffectSource;
Public Property NormalMapSource As IGraphicsEffectSource
Property Value
The normal map for the effect.
Remarks
A normal map is used to assign normals to a target Visual. This creates an effect of a texture where a normal pointing towards the light will be brighter and a normal pointing away will be dimmer. If the NormalMapSource property is not set, the normal described by Vector3.UnitZ will be used.