Navigation
API > API/Plugins > API/Plugins/Chooser > API/Plugins/Chooser/UChooserFunctionLibrary
References
| Module | Chooser |
| Header | /Engine/Plugins/Experimental/Chooser/Source/Chooser/Public/ChooserFunctionLibrary.h |
| Include | #include "ChooserFunctionLibrary.h" |
| Source | /Engine/Plugins/Experimental/Chooser/Source/Chooser/Private/ChooserFunctionLibrary.cpp |
UFUNCTION&40;BlueprintCallable,
Meta&61;&40;BlueprintThreadSafe, BlueprintInternalUseOnly&61;"true", DeterminesOutputType&61;"ObjectClass"&41;&41;
static UObject &42; EvaluateObjectChooserBase
&40;
FChooserEvaluationContext & Context,
const FInstancedStruct & ObjectChooser,
TSubclassOf< UObject > ObjectClass,
bool bResultIsClass
&41;
Remarks
Evaluate an ObjectChooserBase and return the selected UObject, or null
Parameters
| Name | Description |
|---|---|
| Context | (in) A struct reference to the chooser evaluation context |
| ObjectChooser | (in) An Instanced struct containing an ObjectChooserBase implementation, such as EvaluateChooser, or EvaluateProxyAsset |
| ObjectClass | (in) Expected type of result object (or the type of UClass if bResultIsClass is true) |
| bResultIsClass | (in) The Object being returned is a UClass, and the ObjectClass parameter indicates what it must be a subclass of |