Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectDefinition
Deprecated * Please use GetSlotWorldTransform() instead.
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 |
PRAGMA_DISABLE_DEPRECATION_WARNINGSTOptional< FTransform > GetSlotTransform
&40;
const FTransform & OwnerTransform,
const FSmartObjectSlotIndex SlotIndex
&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.
Parameters
| Name | Description |
|---|---|
| OwnerTransform | Transform (in world space) of the slot owner. |
| SlotIndex | Index within the list of slots. |