Dela via


CompositionProjectedShadow.LightSource Property

Definition

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.

Applies to