Annotation Type AdjustableParameter
-
@Documented @Retention(RUNTIME) @Target(FIELD) public @interface AdjustableParameterAnnotation to define a parameter as adjustable by the UI. Currently must be a float or int.
Can be used in classes which implementIDetectororIPostProcessor
If another type is required please request it on https://github.com/DCS-Sherlock/Sherlock/issues
Set the parameter declaration to the desired default value
The engine will set this parameter to it's adjusted value when creating an instance of a supported object
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description floatdefaultValuedefault value the parameter takesfloatmaxumumBoundThe maximum bound for the fieldfloatminimumBoundMinimum bound for fieldjava.lang.StringnameName for the parameter to be displayed in the UIfloatstepThe step to increment or decrement the parameter by in the UI
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringdescriptionOptional, detailed description of what the parameter does
-