Float Range Library
- Base:
- UBlueprintFunctionLibrary
- Type:
- UNFloatRangeLibrary
- Header File:
- NexusCore/Public/Math/NFloatRangeLibrary.h
Blueprint-exposed wrappers around Float Range's sampling API. Thin passthroughs so that Blueprint authors can reach the same NextValue / RandomValue / PercentageValue helpers that native code uses via N_IMPLEMENT_RANGE.
UFunctions​
UFUNCTION(BlueprintCallable, DisplayName="Next Value (Float)")
static float NextValue(const FNFloatRange& Range);
UFUNCTION(BlueprintCallable, DisplayName="Next Value In Sub-Range (Float)")
static float NextValueInSubRange(const FNFloatRange& Range, float MinimumValue, float MaximumValue);
UFUNCTION(BlueprintCallable, DisplayName="Percentage Value (Float)")
static float PercentageValue(const FNFloatRange& Range, float Percentage);
UFUNCTION(BlueprintCallable, DisplayName="Random Value (Float)")
static float RandomValue(const FNFloatRange& Range);
UFUNCTION(BlueprintCallable, DisplayName="Random Value In Sub-Range (Float)")
static float RandomValueInSubRange(const FNFloatRange& Range, float MinimumValue, float MaximumValue);
UFUNCTION(BlueprintCallable, DisplayName="Random Value One Shot (Float)")
static float RandomOneShotValue(const FNFloatRange& Range, float Seed);
UFUNCTION(BlueprintCallable, DisplayName="Random One Shot Value In Sub-Range (Float)")
static float RandomOneShotValueInSubRange(const FNFloatRange& Range, int32 Seed, float MinimumValue, float MaximumValue);
UFUNCTION(BlueprintCallable, DisplayName="Value Percentage (Float)")
static float ValuePercentage(const FNFloatRange& Range, float Value);