ParallelFor loop to update thousands of instances in HierarchicalInstancedStaticMeshComponent

See the answer posted here by @timtimmy : ParallelFor loop to update thousands of instances in HierarchicalInstancedStaticMeshComponent ? - C++ Programming - Unreal Engine Forums .