UKismetSystemLibrary::MakeLiteralDouble
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticUFUNCTIONBlueprintPureBlueprintThreadSafe
Description
Returns the double-precision float passed in unchanged. Backs Blueprint's literal float node, since Blueprint float pins are double-precision as of UE5.
Caveats & Gotchas
- • Its Blueprint DisplayName is still "Make Literal Float" even though the underlying C++ type is double — a holdover from before the UE5 float-to-double pin migration.
- • Replaces the now-deprecated MakeLiteralFloat, which took a single-precision float; existing Blueprints were auto-upgraded to call this instead.
Signature
static double MakeLiteralDouble(double Value) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| Value | double | Value the literal float node should return. | — |
Return Type
double Example
Literal pass-through C++
double Value = UKismetSystemLibrary::MakeLiteralDouble(3.14); See Also
Tags
Version History
Introduced in: 5.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?