Megosztás a következőn keresztül:


PointLight.MinAttenuationCutoff Property

Definition

Gets or sets the minimum range at which this light is effective.

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

void MinAttenuationCutoff(float value);
public float MinAttenuationCutoff { get; set; }
var single = pointLight.minAttenuationCutoff;
pointLight.minAttenuationCutoff = single;
Public Property MinAttenuationCutoff As Single

Property Value

Single

float

The minimum range at which this light is effective. The default is 0.0.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

If the difference between MinAttenuationCutoff and MaxAttenuationCutoff is 0 or negative, the range is ignored.

Applies to