Share via


PointLightComponent.AttenuationCutoff Property

Definition

Custom interval of min/max distances over which the light's attenuated intensity is scaled down to zero.

public:
 property Microsoft::Azure::RemoteRendering::Float2 AttenuationCutoff { Microsoft::Azure::RemoteRendering::Float2 get(); void set(Microsoft::Azure::RemoteRendering::Float2 value); };
public Microsoft.Azure.RemoteRendering.Float2 AttenuationCutoff { get; set; }
member this.AttenuationCutoff : Microsoft.Azure.RemoteRendering.Float2 with get, set
Public Property AttenuationCutoff As Float2

Property Value

Remarks

This option can be used to enforce a smaller range of influence. By default these values are implicitly derived from the light's intensity. Use this option if you want to create a light source that should be bright, but with a relatively small area of influence.

A InvalidParam error occurs if the value is negative, NaN or infinite.

Applies to