Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include | #include "SmartObjectSubsystem.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectSubsystem.cpp |
bool FindEntranceLocationForSlot
(
const FSmartObjectSlotHandle SlotHandle,
const FSmartObjectSlotEntranceLocationRequest & Request,
FSmartObjectSlotEntranceLocationResult & Result
) const
Remarks
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. True if valid entry found.
Parameters
| Name | Description |
|---|---|
| SlotHandle | Handle to the smart object slot. |
| Request | Request describing how to select the entry. |
| Result | Entry location result (in world space). |