Summary

public List<IMyEntity> GetTopMostEntitiesInBox(ref BoundingBoxD boundingBox)

Returns list of TopMost entities that intersects with bounding box. This function won't return CubeBlocks. Use GetElementsInBox(ref BoundingBoxD) to retrieve CubeBlocks also.

Returns

List

New list of entities

Parameters