PluginsUDCoreFeaturesFunction Library
Basic Functions
Core utility functions for common operations
The UUDCoreFunctionLibrary provides core utility functions for common operations like clipboard management, project information, and class utilities.
Class Utilities
GetChildClasses
Returns a list of classes that derive from the given base class. This exposes the C++-only GetDerivedClasses function to Blueprints.

UClass* BaseClass = AActor::StaticClass();
TArray<UClass*> DerivedClasses;
UUDCoreFunctionLibrary::GetChildClasses(BaseClass, DerivedClasses);Parameters
| Name | Type | Description |
|---|---|---|
BaseClass | UClass* | The base class to get derived classes for |
bRecursive | bool | Whether to include derived classes of derived classes |
Returns
| Name | Type | Description |
|---|---|---|
DerivedClasses | TArray<UClass*> | Array of classes that derive from the base class |
Project Information
GetProjectVersion
Returns the project version as defined in your Project Settings.

FString ProjectVersion = UUDCoreFunctionLibrary::GetProjectVersion();Returns
| Name | Type | Description |
|---|---|---|
ProjectVersion | FString | The project version string from Project Settings |
Clipboard Operations
Clipboard operations work in both editor and packaged builds on supported platforms.
CopyTextToClipboard
Copies FText to the system clipboard.

FText TextToCopy = FText::FromString(TEXT("Hello, World!"));
UUDCoreFunctionLibrary::CopyTextToClipboard(TextToCopy);Parameters
| Name | Type | Description |
|---|---|---|
Text | FText | The text to copy to the clipboard |
CopyStringToClipboard
Copies an FString to the system clipboard.

FString StringToCopy = TEXT("Hello, World!");
UUDCoreFunctionLibrary::CopyStringToClipboard(StringToCopy);Parameters
| Name | Type | Description |
|---|---|---|
String | FString | The string to copy to the clipboard |
GetTextFromClipboard
Retrieves the clipboard content as FText.

FText ClipboardText = UUDCoreFunctionLibrary::GetTextFromClipboard();Returns
| Name | Type | Description |
|---|---|---|
Text | FText | The content from the clipboard as FText |
GetStringFromClipboard
Retrieves the clipboard content as an FString.

FString ClipboardString = UUDCoreFunctionLibrary::GetStringFromClipboard();Returns
| Name | Type | Description |
|---|---|---|
String | FString | The content from the clipboard as FString |
ClearClipboard
Clears the system clipboard.

UUDCoreFunctionLibrary::ClearClipboard();Summary
| Function | Description |
|---|---|
GetChildClasses | Get all classes deriving from a base class |
GetProjectVersion | Get the project version string |
CopyTextToClipboard | Copy FText to clipboard |
CopyStringToClipboard | Copy FString to clipboard |
GetTextFromClipboard | Get clipboard content as FText |
GetStringFromClipboard | Get clipboard content as FString |
ClearClipboard | Clear the clipboard |