PointLightComponent.AttenuationCutoff 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
最小/最大距離的自訂間隔,光線衰減強度會相應減少為零。
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
屬性值
備註
此選項可用來強制執行較小的影響範圍。 根據預設,這些值會隱含衍生自光線 的強度。 如果您想要建立應為亮色的光源,但具有相對較小的影響區域,請使用此選項。
InvalidParam如果值為負數、NaN 或無限,就會發生錯誤。