共用方式為


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

適用於