CompositionProjectedShadow.LightSource 属性

定义

获取或设置确定阴影投射方向的合成光。

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

属性值

确定阴影投射方向的合成光。

注解

LightSource 必须是 DistantLight

适用于