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 | FindEntranceLocationInternal |
| 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 FindEntranceLocationInternal
(
const FSmartObjectSlotHandle & SlotHandle,
const FSmartObjectSlotEntranceHandle & SlotEntranceHandle,
const FSmartObjectSlotEntranceLocationRequest & Request,
FSmartObjectSlotEntranceLocationResult & OutResult
) const
True if valid entry found.
Parameters
| Name | Remarks |
|---|---|
| SlotHandle | Handle to the smart object slot. |
| SlotEntranceHandle | Handle to specific entrance if just one entrance should be checked. (Optional) |
| Request | Request describing how to select the entry. |
| OutResult | Entry location result (in world space). |