maxViewDistanceAtDark is property of units