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 |
FTransform GetSlotWorldTransform
&40;
const int32 SlotIndex,
const FTransform & OwnerTransform
&41; const
Remarks
Returns the transform (in world space) of the given slot index.
Method will ensure on invalid invalid index. Transform (in world space) of the slot associated to SlotIndex, or OwnerTransform if index is invalid.
Parameters
| Name | Description |
|---|---|
| OwnerTransform | Transform (in world space) of the slot owner. |
| SlotIndex | Index within the list of slots. |