Added method to get projection direction.