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 |
UFUNCTION (BlueprintCallable, BlueprintPure, Category="SmartObject")
FTransform GetSlotWorldTransform
(
const int32 SlotIndex,
const FTransform & OwnerTransform
) 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, 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. |