UKismetTextLibrary::Conv_ByteToText
#include "Kismet/KismetTextLibrary.h"
Access: public
Specifiers: staticBlueprintPureBlueprintAutocast
Description
Converts a byte value to formatted text. Backs the 'To Text (Byte)' Blueprint autocast node.
Caveats & Gotchas
- • In Blueprint, byte pins are commonly used to represent enum values — this converts the raw numeric value, not the enum's display name, so it's the wrong choice for showing an enum label to players.
- • Unlike Conv_IntToText, there are no formatting options (grouping, sign, digit padding); the value is always rendered as a plain number.
Signature
static FText Conv_ByteToText(uint8 Value); Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| Value | uint8 | The byte value to convert. | — |
Return Type
FText Example
Convert a byte counter to text C++
uint8 Lives = 3;
FText LivesText = UKismetTextLibrary::Conv_ByteToText(Lives); // "3" Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?