Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- USmartObjectBlueprintFunctionLibrary
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectBlueprintFunctionLibrary.h |
| Include | #include "SmartObjectBlueprintFunctionLibrary.h" |
Syntax
UCLASS&40;Meta&61;&40;ScriptName&61;"SmartObjectLibrary"&41;&41;
class USmartObjectBlueprintFunctionLibrary : public UBlueprintFunctionLibrary
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddMultipleSmartObjects
(
const TArray< AActor* >& SmartObjectActors |
Adds to the simulation all smart objects for multiple actors. | |
| bool | AddOrRemoveMultipleSmartObjects
(
const TArray< AActor* >& SmartObjectActors, |
Adds to the simulation all smart objects for multiple actors or removes them according to 'bAdd'. | |
| bool | AddOrRemoveSmartObject
(
AActor* SmartObject, |
Adds to the simulation all smart objects for an actor or removes them according to 'bAdd'. | |
| bool | AddSmartObject
(
AActor* SmartObjectActor |
Adds to the simulation all smart objects for an actor. | |
| FSmartObjectClaimHandle | GetBlackboardValueAsSOClaimHandle
(
UBTNode* NodeOwner, |
||
| FSmartObjectClaimHandle | GetValueAsSOClaimHandle
(
UBlackboardComponent* BlackboardComponent, |
||
| bool | IsValidSmartObjectClaimHandle
(
const FSmartObjectClaimHandle Handle |
||
| FSmartObjectClaimHandle | MarkSmartObjectSlotAsClaimed
(
UObject* WorldContextObject, |
Marks a smart object slot from a request result as claimed. | |
| bool | MarkSmartObjectSlotAsFree
(
UObject* WorldContextObject, |
Marks a claimed or occupied smart object as free. | |
| const USmartObjectBehaviorDefinition * | MarkSmartObjectSlotAsOccupied
(
UObject* WorldContextObject, |
Marks a previously claimed smart object slot as occupied. | |
| bool | RemoveMultipleSmartObjects
(
const TArray< AActor* >& SmartObjectActors |
Removes from the simulation all smart objects for multiple actors. | |
| bool | RemoveSmartObject
(
AActor* SmartObjectActor |
Removes from the simulation all smart objects for an actor. | |
| void | SetBlackboardValueAsSOClaimHandle
(
UBTNode* NodeOwner, |
||
| bool | SetMultipleSmartObjectsEnabled
(
const TArray< AActor* >& SmartObjectActors, |
Marks all smart objects for a list of actors as enabled or not according to 'bEnabled'. | |
| bool | SetSmartObjectEnabled
(
AActor* SmartObjectActor, |
Marks all smart objects for an actor as enabled or not according to 'bEnabled'. | |
| void | SetValueAsSOClaimHandle
(
UBlackboardComponent* BlackboardComponent, |