@@ -22,8 +22,8 @@ namespace FPSProfiler::Configs
22
22
23
23
if (AZ::EditContext* editContext = serializeContext->GetEditContext ())
24
24
{
25
- editContext->Class <FileSaveSettings>(" File Settings" , " Settings controlling save file operations ." )
26
- ->ClassElement (AZ::Edit::ClassElements::EditorData, " " )
25
+ editContext->Class <FileSaveSettings>(" File Save Settings" , " Settings for managing how FPS data is saved to a file ." )
26
+ ->ClassElement (AZ::Edit::ClassElements::EditorData, " Configure file-saving options for recorded FPS data. " )
27
27
->Attribute (AZ::Edit::Attributes::AutoExpand, true )
28
28
29
29
->DataElement (
@@ -83,8 +83,8 @@ namespace FPSProfiler::Configs
83
83
84
84
if (auto * editContext = serializeContext->GetEditContext ())
85
85
{
86
- editContext->Class <RecordSettings>(" Record Settings" , " Settings controlling the recording behavior ." )
87
- ->ClassElement (AZ::Edit::ClassElements::EditorData, " " )
86
+ editContext->Class <RecordSettings>(" Recording Settings" , " Options for configuring how FPS data is recorded ." )
87
+ ->ClassElement (AZ::Edit::ClassElements::EditorData, " Control the behavior of FPS data recording. " )
88
88
->Attribute (AZ::Edit::Attributes::AutoExpand, true )
89
89
90
90
->DataElement (
@@ -152,12 +152,15 @@ namespace FPSProfiler::Configs
152
152
153
153
if (auto * editContext = serializeContext->GetEditContext ())
154
154
{
155
- editContext->Class <PrecisionSettings>(" Precision Settings" , " Settings for FPS profiler precision" )
155
+ editContext->Class <PrecisionSettings>(" Precision Settings" , " Defines the precision level of the FPS Profiler measurements." )
156
+ ->ClassElement (AZ::Edit::ClassElements::EditorData, " Adjust how precisely the FPS Profiler records data." )
157
+
156
158
->DataElement (
157
159
AZ::Edit::UIHandlers::Default,
158
160
&PrecisionSettings::m_NearZeroPrecision,
159
161
" Near Zero Precision" ,
160
162
" Threshold for near-zero values" )
163
+
161
164
->DataElement (
162
165
AZ::Edit::UIHandlers::ComboBox,
163
166
&PrecisionSettings::m_avgFpsType,
@@ -166,6 +169,7 @@ namespace FPSProfiler::Configs
166
169
->EnumAttribute (MovingAverageType::Simple, " Simple" )
167
170
->EnumAttribute (MovingAverageType::Exponential, " Exponential" )
168
171
->Attribute (AZ::Edit::Attributes::ChangeNotify, AZ::Edit::PropertyRefreshLevels::EntireTree)
172
+
169
173
->DataElement (
170
174
AZ::Edit::UIHandlers::Default,
171
175
&PrecisionSettings::m_smoothingFactor,
@@ -181,6 +185,7 @@ namespace FPSProfiler::Configs
181
185
return data && data->m_avgFpsType == Exponential ? AZ::Edit::PropertyVisibility::Show
182
186
: AZ::Edit::PropertyVisibility::Hide;
183
187
})
188
+
184
189
->DataElement (
185
190
AZ::Edit::UIHandlers::CheckBox,
186
191
&PrecisionSettings::m_keepHistory,
@@ -208,13 +213,17 @@ namespace FPSProfiler::Configs
208
213
209
214
if (auto * editContext = serializeContext->GetEditContext ())
210
215
{
211
- editContext->Class <DebugSettings>(" Debug Settings" , " Settings for debugging the FPS Profiler" )
216
+ editContext->Class <DebugSettings>(" Debug Settings" , " Configuration options for debugging the FPS Profiler." )
217
+ ->ClassElement (AZ::Edit::ClassElements::EditorData, " Customize debugging settings for the FPS Profiler." )
218
+
212
219
->DataElement (
213
220
AZ::Edit::UIHandlers::CheckBox,
214
221
&DebugSettings::m_PrintDebugInfo,
215
222
" Print Debug Info" ,
216
223
" Enable or disable debug information printing" )
224
+
217
225
->DataElement (AZ::Edit::UIHandlers::CheckBox, &DebugSettings::m_ShowFps, " Show FPS" , " Toggle FPS display on screen" )
226
+
218
227
->DataElement (
219
228
AZ::Edit::UIHandlers::Color, &DebugSettings::m_Color, " Debug Color" , " Set the debug information display color" );
220
229
}
0 commit comments