diff --git a/Source/Engine/Level/Actors/PointLight.h b/Source/Engine/Level/Actors/PointLight.h index 50df19232..f40d4a0b0 100644 --- a/Source/Engine/Level/Actors/PointLight.h +++ b/Source/Engine/Level/Actors/PointLight.h @@ -30,18 +30,18 @@ public: API_FIELD(Attributes="EditorOrder(3), DefaultValue(0.0f), EditorDisplay(\"Light\"), Limit(0, 1000, 0.01f)") float SourceLength = 0.0f; - /// - /// Controls the radial falloff of light when UseInverseSquaredFalloff is disabled. - /// - API_FIELD(Attributes="EditorOrder(13), DefaultValue(8.0f), EditorDisplay(\"Light\"), Limit(2, 16, 0.01f), VisibleIf(nameof(UseInverseSquaredFalloff), true)") - float FallOffExponent = 8.0f; - /// /// Whether to use physically based inverse squared distance falloff, where Radius is only clamping the light's contribution. /// - API_FIELD(Attributes="EditorOrder(14), DefaultValue(false), EditorDisplay(\"Light\")") + API_FIELD(Attributes = "EditorOrder(13), DefaultValue(false), EditorDisplay(\"Light\")") bool UseInverseSquaredFalloff = false; + /// + /// Controls the radial falloff of light when UseInverseSquaredFalloff is disabled. + /// + API_FIELD(Attributes="EditorOrder(14), DefaultValue(8.0f), EditorDisplay(\"Light\"), Limit(2, 16, 0.01f), VisibleIf(nameof(UseInverseSquaredFalloff), true)") + float FallOffExponent = 8.0f; + /// /// IES texture (light profiles from real world measured data) /// diff --git a/Source/Engine/Level/Actors/SpotLight.h b/Source/Engine/Level/Actors/SpotLight.h index e6179a522..37735692a 100644 --- a/Source/Engine/Level/Actors/SpotLight.h +++ b/Source/Engine/Level/Actors/SpotLight.h @@ -29,18 +29,18 @@ public: API_FIELD(Attributes="EditorOrder(2), DefaultValue(0.0f), EditorDisplay(\"Light\"), Limit(0, 1000, 0.01f)") float SourceRadius = 0.0f; - /// - /// Controls the radial falloff of light when UseInverseSquaredFalloff is disabled. - /// - API_FIELD(Attributes="EditorOrder(13), DefaultValue(8.0f), EditorDisplay(\"Light\"), Limit(2, 16, 0.01f), VisibleIf(nameof(UseInverseSquaredFalloff), true)") - float FallOffExponent = 8.0f; - /// /// Whether to use physically based inverse squared distance falloff, where Radius is only clamping the light's contribution. /// - API_FIELD(Attributes="EditorOrder(14), DefaultValue(false), EditorDisplay(\"Light\")") + API_FIELD(Attributes = "EditorOrder(13), DefaultValue(false), EditorDisplay(\"Light\")") bool UseInverseSquaredFalloff = false; + /// + /// Controls the radial falloff of light when UseInverseSquaredFalloff is disabled. + /// + API_FIELD(Attributes="EditorOrder(14), DefaultValue(8.0f), EditorDisplay(\"Light\"), Limit(2, 16, 0.01f), VisibleIf(nameof(UseInverseSquaredFalloff), true)") + float FallOffExponent = 8.0f; + /// /// IES texture (light profiles from real world measured data) ///