UnrealVoxta 0.1.1
 
Loading...
Searching...
No Matches
UVoxtaHelperFunctionLibrary Class Referencefinal

UVoxtaHelperFunctionLibrary Library of functionality exposed to blueprints. More...

#include <VoxtaHelperFunctionLibrary.h>

Inheritance diagram for UVoxtaHelperFunctionLibrary:

Static Public Member Functions

static bool IsIpv4Valid (const FString &address)
 Check if the given string is a valid IPv4 address (or localhost)
 
static FString FloatToStringPrecision (float input, int digitsAfterPoint=2)
 Converts a float to a string value with a given amount of precision.
 

Static Public Attributes

static const FString LOCALHOST = TEXT("localhost")
 

Detailed Description

UVoxtaHelperFunctionLibrary Library of functionality exposed to blueprints.

Mainly used for simple C++ utility that would require a ton of BP nodes to emulate.

Member Function Documentation

◆ FloatToStringPrecision()

FString UVoxtaHelperFunctionLibrary::FloatToStringPrecision ( float input,
int digitsAfterPoint = 2 )
static

Converts a float to a string value with a given amount of precision.

Parameters
inputThe raw float value to convert.
digitsAfterPointThe number of digits after point it should use before rounding the value.
Returns
The converted string value

◆ IsIpv4Valid()

bool UVoxtaHelperFunctionLibrary::IsIpv4Valid ( const FString & address)
static

Check if the given string is a valid IPv4 address (or localhost)

Parameters
addressThe string to check.
Returns
True if the given string is a valid IPv4 (or localhost), false otherwise.

Member Data Documentation

◆ LOCALHOST

const FString UVoxtaHelperFunctionLibrary::LOCALHOST = TEXT("localhost")
inlinestatic

The documentation for this class was generated from the following files: