Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem > API/Plugins/SmartObjectsModule/USmartObjectSubsystem/GetBehaviorDefinition
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include | #include "SmartObjectSubsystem.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="SmartObject",
Meta=(DeterminesOutputType="DefinitionClass"))
const USmartObjectBehaviorDefinition * GetBehaviorDefinition
(
const FSmartObjectClaimHandle & ClaimHandle,
TSubclassOf < USmartObjectBehaviorDefinition > DefinitionClass
)
Remarks
Return the behavior definition of a given type from a claimed object. The base class pointer of the requested behavior definition class associated to the slotClaim handle
Parameters
| Name | Description |
|---|---|
| ClaimHandle | Handle to a claimed slot returned by any of the Claim methods. |
| DefinitionClass | The type of behavior definition. |