CompositionProjectedShadow.LightSource 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.
Gets or sets the composition light that determines the direction the shadow is cast.
public:
property CompositionLight ^ LightSource { CompositionLight ^ get(); void set(CompositionLight ^ value); };
CompositionLight LightSource();
void LightSource(CompositionLight value);
public CompositionLight LightSource { get; set; }
var compositionLight = compositionProjectedShadow.lightSource;
compositionProjectedShadow.lightSource = compositionLight;
Public Property LightSource As CompositionLight
Property Value
The composition light that determines the direction the shadow is cast.
Remarks
The LightSource must be a DistantLight.