Annotation Type AdjustableParameter
-
@Documented @Retention(RUNTIME) @Target(FIELD) public @interface AdjustableParameter
Annotation to define a parameter as adjustable by the UI. Currently must be a float or int.
Can be used in classes which implementIDetector
orIPostProcessor
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 float
defaultValue
default value the parameter takesfloat
maxumumBound
The maximum bound for the fieldfloat
minimumBound
Minimum bound for fieldjava.lang.String
name
Name for the parameter to be displayed in the UIfloat
step
The step to increment or decrement the parameter by in the UI
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
description
Optional, detailed description of what the parameter does
-