Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
Description
Finds entrance location for a specific slot. Each slot can be annotated with multiple entrance locations, and the request can be configured to also consider the slot location as one entry. Additionally, the entrance locations can be checked to be on navigable surface (does not check that the point is reachable, though), traced on ground, and without of collisions.
| Name | FindEntranceLocationForSlot |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include Path | #include "SmartObjectSubsystem.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectSubsystem.cpp |
bool FindEntranceLocationForSlot
(
const FSmartObjectSlotHandle & SlotHandle,
const FSmartObjectSlotEntranceLocationRequest & Request,
FSmartObjectSlotEntranceLocationResult & Result
) const
True if valid entry found.
Parameters
| Name | Remarks |
|---|---|
| SlotHandle | Handle to the smart object slot. |
| Request | Request describing how to select the entry. |
| Result | Entry location result (in world space). |