UKismetSystemLibrary::Conv_SoftObjRefToSoftClassPath
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticBlueprintPureBlueprintThreadSafeBlueprintAutocast
Description
Converts a TSoftClassPtr<UObject> soft class reference into its underlying FSoftClassPath, which can then be used anywhere a Soft Object Path is expected. Shown as the "To Soft Class Path" node.
Caveats & Gotchas
- • Despite the name mirroring Conv_SoftObjRefToSoftObjPath, this specifically takes a soft *class* reference, not a soft object reference — the name is a historical artifact from the internal implementation.
- • This is a pure struct conversion; it performs no validation or resolution of the underlying class.
Signature
static ENGINE_API FSoftClassPath Conv_SoftObjRefToSoftClassPath(TSoftClassPtr<UObject> SoftClassReference) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| SoftClassReference | TSoftClassPtr<UObject> | The soft class reference to convert. | — |
Return Type
FSoftClassPath Example
Extract the path from a soft class reference C++
TSoftClassPtr<UObject> SoftClassRef = MyClass;
FSoftClassPath ClassPath = UKismetSystemLibrary::Conv_SoftObjRefToSoftClassPath(SoftClassRef); See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?