Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/FSmartObjectSlotValidationParams
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectTypes.h |
| Include | #include "SmartObjectTypes.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectTypes.cpp |
bool GetPreviewUserCapsule
(
const UWorld & World,
FSmartObjectUserCapsuleParams & OutCapsule
) const
Remarks
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. true if operation succeeds.
Parameters
| Name | Description |
|---|---|
| World | where to look for default navigation settings. |
| OutCapsule | Dimensions of the user capsule. |