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 |
PRAGMA_DISABLE_DEPRECATION_WARNINGS TOptional < FTransform > GetSlotTransform
(
const FTransform & OwnerTransform,
const FSmartObjectSlotIndex SlotIndex
) const
Remarks
Returns the transform (in world space) of the given slot index.
Method will ensure on invalid slot 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. |