Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
UnitConversion Namespace Reference

Classes

struct  FQuantizationInfo
 

Functions

CORE_API double DistanceUnificationFactor (EUnit From)
 
CORE_API double AngleUnificationFactor (EUnit From)
 
CORE_API double SpeedUnificationFactor (EUnit From)
 
CORE_API double TemperatureUnificationFactor (EUnit From)
 
CORE_API double MassUnificationFactor (EUnit From)
 
CORE_API double ForceUnificationFactor (EUnit From)
 
CORE_API double FrequencyUnificationFactor (EUnit From)
 
CORE_API double DataSizeUnificationFactor (EUnit From)
 
CORE_API double TimeUnificationFactor (EUnit From)
 
CORE_API double MultiplierUnificationFactor (EUnit From)
 
CORE_API TValueOrError< FNumericUnit< double >, FTextTryParseExpression (const TCHAR *InExpression, EUnit DefaultUnit, const FNumericUnit< double > &InExistingValue)
 
CORE_API TOptional< const TArray< FQuantizationInfo > * > GetQuantizationBounds (EUnit Unit)
 

Function Documentation

◆ AngleUnificationFactor()

CORE_API double UnitConversion::AngleUnificationFactor ( EUnit From)

Find the common quantization factor for the specified angular unit. Quantizes to Degrees.

◆ DataSizeUnificationFactor()

CORE_API double UnitConversion::DataSizeUnificationFactor ( EUnit From)

Find the common quantization factor for the specified data size unit. Quantizes to MB.

◆ DistanceUnificationFactor()

CORE_API double UnitConversion::DistanceUnificationFactor ( EUnit From)

Find the common quantization factor for the specified distance unit. Quantizes to Meters.

◆ ForceUnificationFactor()

CORE_API double UnitConversion::ForceUnificationFactor ( EUnit From)

Find the common quantization factor for the specified force unit. Quantizes to Newtons.

◆ FrequencyUnificationFactor()

CORE_API double UnitConversion::FrequencyUnificationFactor ( EUnit From)

Find the common quantization factor for the specified frequency unit. Quantizes to KHz.

◆ GetQuantizationBounds()

CORE_API TOptional< const TArray< FQuantizationInfo > * > UnitConversion::GetQuantizationBounds ( EUnit Unit)

Find the quantization bounds for the specified unit, if any

◆ MassUnificationFactor()

CORE_API double UnitConversion::MassUnificationFactor ( EUnit From)

Find the common quantization factor for the specified mass unit. Quantizes to Grams.

◆ MultiplierUnificationFactor()

CORE_API double UnitConversion::MultiplierUnificationFactor ( EUnit From)

Find the common quantization factor for the specified multiplier unit. Quantizes to 1.0 scale (where 1.0 == 100%).

◆ SpeedUnificationFactor()

CORE_API double UnitConversion::SpeedUnificationFactor ( EUnit From)

Find the common quantization factor for the specified speed unit. Quantizes to km/h.

◆ TemperatureUnificationFactor()

CORE_API double UnitConversion::TemperatureUnificationFactor ( EUnit From)

Find the common quantization factor for the specified temperature unit. Quantizes to Kelvin.

◆ TimeUnificationFactor()

CORE_API double UnitConversion::TimeUnificationFactor ( EUnit From)

Find the common quantization factor for the specified time unit. Quantizes to hours.

◆ TryParseExpression()

CORE_API TValueOrError< FNumericUnit< double >, FText > UnitConversion::TryParseExpression ( const TCHAR * InExpression,
EUnit DefaultUnit,
const FNumericUnit< double > & InExistingValue )

Attempt to parse an expression into a numeric unit