Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/FSmartObjectSlotValidationParams
Description
Gets default user capsule size used for preview when the user actor is now known. The method can fail if the navigation capsule is requested, but we fail to get the navigation properties from the world.
| Name | GetPreviewUserCapsule |
| 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 GetPreviewUserCapsule
(
const UWorld & World,
FSmartObjectUserCapsuleParams & OutCapsule
) const
true if operation succeeds.
Parameters
| Name | Remarks |
|---|---|
| World | where to look for default navigation settings. |
| OutCapsule | Dimensions of the user capsule. |