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


PointLight.MaxAttenuationCutoff Property

Definition

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

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

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

Property Value

Single

float

The maximum 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