/Engine/Source/Editor/SceneOutliner/Public/ISceneOutlinerTreeItem.h
Attempt to cast this item to another type if it is of that type. Returns nullptr if it fails
template<typename T> const T * CastTo() const