Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectBlueprintFunctionLib-
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectBlueprintFunctionLibrary.h |
| Include | #include "SmartObjectBlueprintFunctionLibrary.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectBlueprintFunctionLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="SmartObject", Meta=(WorldContext="WorldContextObject"))
static const USmartObjectBehaviorDefinition * MarkSmartObjectSlotAsOccupied
(
UObject * WorldContextObject,
const FSmartObjectClaimHandle ClaimHandle,
TSubclassOf < USmartObjectBehaviorDefinition > DefinitionClass
)
Remarks
Marks a previously claimed smart object slot as occupied. The base class pointer of the requested behavior definition class associated to the slot
Parameters
| Name | Description |
|---|---|
| WorldContextObject | Object used to fetch the SmartObjectSubsystem of its associated world. |
| ClaimHandle | Handle to a claimed slot returned by any of the Claim methods. |
| DefinitionClass | The type of behavior definition the user wants to use. |