Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectTypes.h |
| Include | #include "SmartObjectTypes.h" |
Syntax
USTRUCT ()
struct FSmartObjectSlotValidationParams
Remarks
Parameters for Smart Object navigation and collision validation.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseNavigationCapsuleSize | If true, the capsule size is queried from the user actor via INavAgentInterface. | |
| FSmartObjectTraceParams | GroundTraceParameters | Trace parameters used for finding navigation location on ground. | |
| TSubclassOf< UNavigationQueryFilter > | NavigationFilter | Navigation filter used to validate entrance locations. | |
| FVector | SearchExtents | How far we allow the validated location to be from the specified navigation location. | |
| FSmartObjectTraceParams | TransitionTraceParameters | Trace parameters user for checking if the transition between navigation location and slot is unblocked. | |
| FSmartObjectUserCapsuleParams | UserCapsule | Dimensions of the capsule used for testing if user can fit into a specific location. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FSmartObjectTraceParams & | |||
| TSubclassOf< UNavigationQueryFilter > | |||
| bool | GetPreviewUserCapsule
(
const UWorld& World, |
Gets default user capsule size used for preview when the user actor is now known. | |
| FVector | |||
| const FSmartObjectTraceParams & | |||
| const FSmartObjectUserCapsuleParams & | |||
| const FSmartObjectUserCapsuleParams & | GetUserCapsule
(
const FSmartObjectUserCapsuleParams& NavigationCapsule |
Selects between specified NavigationCapsule size and capsule size defined in the params based on bUseNavigationCapsuleSize. | |
| bool | GetUserCapsuleForActor
(
const AActor& UserActor, |
Gets user capsule for a specified actor, if bUseNavigationCapsuleSize is specified uses INavAgentInterface to forward the values from navigation system. |