SceneLightingEffect.NormalMapSource Property

Definition

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.

Applies to