SceneLightingEffect.AmbientAmount Property

Definition

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.

Applies to