/Engine/Source/Runtime/Foliage/Public/InstancedFoliage.h
Will only return a valid component in the case of non-actor foliage.
[UHierarchicalInstancedStaticMeshComponent](API\Runtime\Engine\Components\UHierarchicalInstancedStaticMesh-) * GetComponent() const