Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectDefinition
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectDefinition.h |
| Include | #include "SmartObjectDefinition.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectDefinition.cpp |
bool FindSlotAndDefinitionDataIndexByID
(
const FGuid ID,
int32 & OutSlotIndex,
int32 & OutDefinitionDataIndex
) const
Remarks
Returns slot and definition data indices the ID represents. true if ID matches data in the definition.
Parameters
| Name | Description |
|---|---|
| ID | ID of the slots or definition data to find |
| OutSlotIndex | Index of the slot the ID points to |
| OutDefinitionDataIndex | Index of the definition data the ID points to, or INDEX_NONE, if ID points directly to a slot. |