Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule
Smart Object User Component defines common settings for a Smart Object user.
The validation settings for entries and exits are separate to allow to have more lax exit settings. For example the entry settings might prevent to use Smart Object slots which are on water, but we could allow to exit in water.
| Name | USmartObjectUserComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectUserComponent.h |
| Include Path | #include "SmartObjectUserComponent.h" |
Syntax
UCLASS (MinimalAPI, Blueprintable, ClassGroup=Gameplay, Meta=(BlueprintSpawnableComponent),
Config=Game,
HideCategories=(Activation, AssetUserData, Collision, Cooking, HLOD, Lighting, LOD, Mobile, Mobility, Navigation, Physics, RayTracing, Rendering, Tags, TextureStreaming))
class USmartObjectUserComponent : public UActorComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USmartObjectUserComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
USmartObjectUserComponent
(
const FObjectInitializer& ObjectInitializer |
SmartObjectUserComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSubclassOf< USmartObjectSlotValidationFilter > GetValidationFilter() |
SmartObjectUserComponent.h |