Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetSystemLibrary
Description
Returns true if Object is of type SoftClass - either an instance of the class or child class, or implements the interface. Alternative to Cast - slower but without adding a hard reference.
| Name | IsObjectOfSoftClass |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h |
| Include Path | #include "Kismet/KismetSystemLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Utilities",
Meta=(ExpandEnumAsExecs=ReturnValue, DisplayName="IsA ( soft )"))
static bool IsObjectOfSoftClass
(
const UObject * Object,
TSoftClassPtr < UObject > SoftClass
)