It’s not the brackets, I have a very plain value defined as a macro and it doesn’t work either.
#define DEFAULT_MARGIN 0.0001f
UCLASS()
class MYGAME_API UFloatHelpers : public UBlueprintFunctionLibrary
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintCallable, Category = "Float Helpers", BlueprintPure, meta=(Keywords="float, equal, eq, ==", CompactNodeTitle="≈"))
static bool EqualWithMargin(float A, float B, float Margin = DEFAULT_MARGIN);
}
Doesn’t work with #define DEFAULT_MARGIN 0.0001
either