Share via


SceneLightingEffect.AmbientAmount 属性

定义

效果使用的预定义 AmbientLight 的比例。

public:
 property float AmbientAmount { float get(); void set(float value); };
float AmbientAmount();

void AmbientAmount(float value);
public float AmbientAmount { get; set; }
var single = sceneLightingEffect.ambientAmount;
sceneLightingEffect.ambientAmount = single;
Public Property AmbientAmount As Single

属性值

Single

float

效果使用的预定义 AmbientLight 的比例。 值必须在 0.0 和 1.0 之间设置。

适用于