This method returns an array of all entities in the world, with optional filter parameters.
Returns an array of all entities in the world.