Skip to main content

Text Render Component

Base:
UTextRenderComponent
Type:
UNTextRenderComponent
Header File:
NexusMultiplayer/Public/UTextRenderComponent.h

A component that builds a network-synchronized UTextRenderComponent between clients.

Text Render Component

UFunctions​

Set From Name​

Sets the text of the NTextRenderComponent from a FName, ensuring it is only done with authority, and then replicated.

/**
* Set the value of the text component from an FName.
* @param NewValue The desired text value.
*/
void SetFromName(const FName& NewValue);

Set From String​

Sets the text of the NTextRenderComponent from a FString, ensuring it is only done with authority, and then replicated.

/**
* Set the value of the text component from an FString.
* @param NewValue The desired text value.
*/
void SetFromString(const FString& NewValue);

Set From Text​

Sets the text of the NTextRenderComponent from a FText, ensuring it is only done with authority, and then replicated.

/**
* Set the value of the text component from an FText.
* @param NewValue The desired text value.
*/
void SetFromText(const FText& NewValue);