共用方式為


SpotLightComponent.FalloffExponent 屬性

定義

內部和外部圓錐角之間的光線落差強度。

public:
 property float FalloffExponent { float get(); void set(float value); };
public float FalloffExponent { get; set; }
member this.FalloffExponent : single with get, set
Public Property FalloffExponent As Single

屬性值

備註

值愈大,轉換就越明顯。 預設值 1.0 會產生線性轉換。

InvalidParam如果值超出範圍 [0.01; 256],就會發生錯誤。

適用於