SceneLightingEffect.AmbientAmount 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.
The proportion of predefined AmbientLight used by the effect.
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
Property Value
Single
float
The proportion of predefined AmbientLight used by the effect. Values must be set between 0.0 and 1.0.