/Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectRuntime.h
Returns a pointer to the slot state data of the specified type. Method will return null if the slot doesn't have the given type.
template<typename T> T * GetStateDataPtr() const