Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/FSmartObjectSlotValidationParams
Description
Gets user capsule for a specified actor, if bUseNavigationCapsuleSize is specified uses INavAgentInterface to forward the values from navigation system. The method can fail if the navigation capsule is requested, but we fail to get the navigation properties from the actor.
| Name | GetUserCapsuleForActor |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectTypes.h |
| Include Path | #include "SmartObjectTypes.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectTypes.cpp |
bool GetUserCapsuleForActor
(
const AActor & UserActor,
FSmartObjectUserCapsuleParams & OutCapsule
) const
true operation succeeds.
Parameters
| Name | Remarks |
|---|---|
| UserActor | Actor used to look up navigation settings from. |
| OutCapsule | Dimensions of the user capsule. |